eslint-config-kasa
ESLint shareable config for Kasa Javascript style guide
Installation
# NPM
$ npm install --save-dev eslint typescript jest react eslint-config-kasa
# Yarn
$ yarn add -D eslint typescript jest react eslint-config-kasa
Usage
Once the eslint-config-kasa
package is installed, you can use it by specifying kasa
in the extends
section of your ESLint configuration.
{
"extends": "kasa",
"rules": {
// Additional, per-project rules...
}
}
kasa
config with eslint:recommended
Using the 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:
{
"extends": ["kasa"],
"rules": {
// Additional, per-project rules...
}
}
License
Provided under the terms of the MIT License.
Copyright © 2021, Kasa.