eslint-plugin-rectify

0.5.0 • Public • Published

eslint-plugin-rectify

eslint-plugin

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-rectify:

npm install eslint-plugin-rectify --save-dev

Usage

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

{
    "plugins": [
        "rectify"
    ]
}

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

{
    "rules": {
        "rectify/no-useless-concat": 2,
        "rectify/no-string-regexp": 2,
        "rectify/json-parse-risk": 2,
        "rectify/no-default-sort": 2
    }
}

Supported Rules

  • Fill in provided rules here

Package Sidebar

Install

npm i eslint-plugin-rectify

Weekly Downloads

2

Version

0.5.0

License

ISC

Unpacked Size

3.66 kB

Total Files

7

Last publish

Collaborators

  • guxima