0.7.2 • Published 8 years ago
@flourish/eslint-plugin-flourish v0.7.2
eslint-plugin-flourish
ESLint rules for Flourish style
Installation
You'll first need to install ESLint:
$ npm i eslint --save-devNext, install @flourish/eslint-plugin-flourish:
$ npm install @flourish/eslint-plugin-flourish --save-devNote: 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