ESLint shareable config for Kasa React style guide
npm install eslint-config-kasa
ESLint shareable config for Kasa Javascript style guide
```NPM
$ npm install --save-dev eslint typescript jest react eslint-config-kasaYarn
$ yarn add -D eslint typescript jest react eslint-config-kasa
Once the eslint-config-kasa package is installed, you can use it by specifying kasa in the extends section of your ESLint configuration.
`js`
{
"extends": "kasa",
"rules": {
// Additional, per-project rules...
}
}
There are several rules in the eslint:recommended ruleset that kasa style is not opinionated about that you might want to enforce in your project.
To use kasa style in conjunction with ESLint's recommended rule set, extend them both, making sure to list kasa last:
`js``
{
"extends": ["kasa"],
"rules": {
// Additional, per-project rules...
}
}
Provided under the terms of the MIT License.
Copyright © 2021, Kasa.