0.0.4 • Published 1 year ago
@dodi/eslint-config v0.0.4
Shareable eslint config
These rules are the most stringent, which allow you to control all types of data in your project, as well as more strictly determine the order of imports.
Quick start
$ npm install @dodi/eslint-config -DAlso you do not need to manually install ESLint, it will always be the newest.
Add to your .eslintrc.json:
{
"extends": "@dodi/eslint-config"
}Check out eslint:
$ eslint "**/*.ts"Override rules
.eslintrc.json or .eslintrc.js:
{
extends: "@dodi/eslint-config",
rules: {
// override extended rules
},
}Optional
import/no-deprecated by default "off"
{
"extends": "@dodi/eslint-config",
"rules": {
"import/no-deprecated": "error"
}
}