eslint-plugin-immutable-js
v0.0.2
Published
ESLint for Immutable.js
Maintainers
Readme
eslint-plugin-immutable-js
ESLint for Immutable.js
Installation
You'll first need to install ESLint:
$ npm i eslint --save-devNext, install eslint-plugin-immutable-js:
$ npm install eslint-plugin-immutable-js --save-devNote: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-immutable-js globally.
Usage
Add immutable-js to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"immutable-js"
]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"immutable-js/no-get-get": 2
}
}Supported Rules
- no-get-get: Prefer
getInto chaininggets (supports fixing)
