Skip to content

Latest commit

 

History

History
46 lines (30 loc) · 624 Bytes

README.md

File metadata and controls

46 lines (30 loc) · 624 Bytes

eslint-plugin-utils

eslint plugin for utils

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-utils:

npm install eslint-plugin-utils --save-dev

Usage

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

{
    "plugins": [
        "utils"
    ]
}

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

{
    "rules": {
        "utils/rule-name": 2
    }
}

Supported Rules

  • Fill in provided rules here