eslint-plugin-lodash-import-method
v0.0.3
Published
import lodash submodule only
Downloads
44
Maintainers
Readme
eslint-plugin-lodash-import-method
- import lodash submodule only with
auto fix
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-lodash-import-method
:
npm install eslint-plugin-lodash-import-method --save-dev
Usage
Add lodash-import-method
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"lodash-import-method"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"lodash-import-method/submodule": 2
}
}
Rules
TODO: Run eslint-doc-generator to generate the rules list.