@flourish/eslint-plugin-flourish
v0.7.2
Published
ESLint rules for Flourish style
Downloads
709
Readme
eslint-plugin-flourish
ESLint rules for Flourish style
Installation
You'll first need to install ESLint:
$ npm i eslint --save-dev
Next, install @flourish/eslint-plugin-flourish
:
$ npm install @flourish/eslint-plugin-flourish --save-dev
Note: If you installed ESLint globally (using the -g
flag) then you must also install @flourish/eslint-plugin-flourish
globally.
Usage
Add @flourish/flourish
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"@flourish/flourish"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"@flourish/flourish/no-mixed-spaces-and-tabs": "error"
}
}
or use the "flourish"
config:
{
"extends": "plugin:@flourish/flourish/flourish"
}
## Supported Rules
* no-mixed-spaces-and-tabs
* brace-style
* no-redeclare