0.1.5 • Published 7 months ago

@kaas-devteam/eslint-config v0.1.5

Weekly downloads
-
License
ISC
Repository
-
Last release
7 months ago

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",
  }
}