eslint-plugin-crocks

0.0.0 • Public • Published

eslint-plugin-crocks

Verifies crocks import order

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-crocks:

$ npm install eslint-plugin-crocks --save-dev

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

Usage

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

{
    "plugins": [
        "crocks"
    ]
}

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

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

Supported Rules

  • Fill in provided rules here

Package Sidebar

Install

npm i eslint-plugin-crocks

Weekly Downloads

1

Version

0.0.0

License

ISC

Unpacked Size

9.59 kB

Total Files

8

Last publish

Collaborators

  • karthikiyengar