Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 1.04 KB

README.md

File metadata and controls

41 lines (30 loc) · 1.04 KB

eslint-plugin-kaola

version Build Status Github licences

nodei

Installation

$ npm i eslint eslint-plugin-kaola --save-dev

Usage

Add kaola to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
    "plugins": [
        "kaola"
    ]
}

Then configure the rules you want to use under the rules section.

{
    "rules": {
        "kaola/no-keywords-assign": ["error"(, [...customKeywords])],
        "kaola/no-addition": 2
    }
}

Supported Rules

  • no-keywords-assign
  • no-addition