@kaas-devteam/eslint-config

0.1.5 • Public • Published

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

Package Sidebar

Install

npm i @kaas-devteam/eslint-config

Weekly Downloads

2

Version

0.1.5

License

ISC

Unpacked Size

2.98 kB

Total Files

3

Last publish

Collaborators

  • czr
  • 189