eslint-config
Installation •
Usage •
Extending •
Contributors •
License
Installation
yarn add --dev eslint @devoxa/eslint-config
The configuration also has a peer dependency on typescript@^3.9.2
.
Usage
To enable the rules, add a eslintConfig
property in your package.json
. See the
ESLint configuration docs for more details.
"eslintConfig": {
"extends": "@devoxa"
},
Since the ESLint configuration is for TypeScript projects it is also required that you have a
tsconfig.json
file configured.
It is also recommended to add the following script to your package.json
for easy usage.
"lint": "eslint --ignore-path='.gitignore' '{src,tests}/**/*.{ts,tsx}'"
Extending
This configuration is not intended to be changed, but if you have a setup where modification is
required, it is possible. See the ESLint docs for more details.
Contributors
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors
specification. Contributions of any kind welcome!
License
MIT