@kaas-devteam/eslint-config
v0.1.6
Published
KaaS's eslint config
Downloads
2
Readme
The standard shareable eslint configuration shared by kaas Front-End team.
Installation
npm
$ npm install typescript eslint prettier @kaas-devteam/eslint-config --save-dev
yarn
$ yarn add typescript eslint prettier @kaas-devteam/eslint-config --D
Usage
Set your eslint
config to
{
"extends": "@kaas-devteam/eslint-config"
}
Extending the config
Simply add a "rules" key to your config, then add your overrides and additions there.
For example, to turn off the scss/dollar-variable-pattern rule:
{
"extends": "@kaas-devteam/eslint-config",
"rules": {
"@typescript-eslint/no-empty-function": "off",
}
}