ESLINT Configuration for front end javascript and typescript project. Basically made to work with VueJS.
EndMove
d6413f3f88
Reviewed-on: #1 Co-authored-by: EndMove <superjeremi1302@gmail.com> Co-committed-by: EndMove <superjeremi1302@gmail.com> |
||
---|---|---|
.drone.yml | ||
.editorconfig | ||
.eslintrc.json | ||
.gitignore | ||
.npmrc | ||
LICENSE | ||
package-lock.json | ||
package.json | ||
README.md |
eslint-config
This repository is the NPM package for ESLINT configuration of IO-Projects TypeScript front-end projects.
Installation
Add the registery to your .npmrc
file:
@ioprojects:registry=https://git.endmove.eu/api/packages/IO-ProjectsOfficial/npm/
Install the package:
# with yarn
yarn add -D @io-projects/eslint-config
# with npm
npm install --save-dev @io-projects/eslint-config
Usage
Add the following to your .eslintrc.js
file:
module.exports = {
extends: [
'@io-projects/eslint-config'
]
}
Or
Add the following to your .eslintrc.json
file:
{
"extends": [
"@io-projects/eslint-config"
]
}
Or
Add the following to your .eslintrc.cjs
file:
module.exports = require('@ioprojects/ui-eslint-base');