WoodenPC / eslint-plugin-lodash-to-native

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

eslint-plugin-lodash-to-native

eslint-plugin-lodash-to-native

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-lodash-to-native:

$ npm install https://github.com/WoodenPC/eslint-plugin-lodash-to-native --save-dev

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

Usage

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

{
    "plugins": [
        "lodash-to-native"
    ]
}

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

{
    "rules": {
        "lodash-to-native/map": "warn"
    }
}

Supported Rules

  • Fill in provided rules here

About


Languages

Language:JavaScript 100.0%