1.0.3 • Published 9 years ago
eslint-plugin-jsfix v1.0.3
eslint-plugin-jsfix
Javascript linter with autofix for .js files
Installation
You'll first need to install ESLint:
$ npm i eslint --save-devNext, install eslint-plugin-jsfix:
$ npm install eslint-plugin-jsfix --save-devNote: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-jsfix globally.
Usage
Add jsfix to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"jsfix"
]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"jsfix/rule-name": 2
}
}Supported Rules
- Fill in provided rules here