Skip to content

Latest commit

 

History

History
50 lines (35 loc) · 1.35 KB

README.md

File metadata and controls

50 lines (35 loc) · 1.35 KB

eslint-plugin-faltest

npm version

ESLint rules for FalTest

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-faltest:

$ npm install eslint-plugin-faltest --save-dev

Note: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-faltest globally.

Usage

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

{
  "plugins": [
    "faltest"
  ]
}

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

{
  "rules": {
    "faltest/rule-name": 2
  }
}

Supported Rules