@devoxa/eslint-config v3.0.11
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}'"
Additionally, it is recommended to install the VS Code Extension to get in-editor warnings.
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
10 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago