1.2.1 • Published 4 years ago
eslint-config-kasa v1.2.1
Installation
# NPM
$ npm install --save-dev eslint typescript jest react eslint-config-kasa
# Yarn
$ yarn add -D eslint typescript jest react eslint-config-kasaUsage
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...
}
}Using the kasa config with eslint:recommended
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.