@ctrl/eslint-config-react
v2.1.0
Published
eslint react typescript config
Downloads
10
Readme
@ctrl/eslint-config-react
Not really a shareable eslint config, more of a set of rules and eslint all together. Installs all required eslint dependencies. This package was created to unify my eslint rules and reduce churn from all the eslint packages in package.json
Extends from xo and xo-typescript and disables a few rules. Config uses 2 space indentation.
npm i @ctrl/eslint-config-react -D
.eslintrc
{
"root": true,
"env": {
"node": true,
"jest": true
},
"extends": ["@ctrl/eslint-config-react"]
}