eslint-plugin-require-underscore-lodash-import

0.1.0 • Public • Published

eslint-plugin-require-underscore-lodash-import

You must require _ on all lodash imports

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-require-underscore-lodash-import:

$ npm install eslint-plugin-require-underscore-lodash-import --save-dev

Note: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-require-underscore-lodash-import globally.

Usage

Add require-underscore-lodash-import to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
    "plugins": [
        "require-underscore-lodash-import"
    ]
}

Then configure the rules you want to use under the rules section.

{
    "rules": {
        "require-underscore-lodash-import/rule-name": 2
    }
}

Supported Rules

  • Fill in provided rules here

Package Sidebar

Install

npm i eslint-plugin-require-underscore-lodash-import

Weekly Downloads

4

Version

0.1.0

License

ISC

Unpacked Size

4.6 kB

Total Files

6

Last publish

Collaborators

  • georgeweiler