1.0.0 • Published 5 years ago
eslint-plugin-mfw v1.0.0
eslint-plugin-mfw
eslint rules for sales project
Installation
You'll first need to install ESLint:
$ npm i eslint --save-dev
Next, install eslint-plugin-mfw
:
$ npm install eslint-plugin-mfw --save-dev
Note: If you installed ESLint globally (using the -g
flag) then you must also install eslint-plugin-mfw
globally.
Usage
Add sales
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": ["sales"]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"sales/used-let-const": "warn",
}
}
Supported Rules
- used-let-const
1.0.0
5 years ago