eslint-plugin-si-components

1.0.0 • Public • Published

eslint-plugin-si-components

si-components specific linting rules for ESLint

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-si-components:

$ npm install eslint-plugin-si-components --save-dev

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

Usage

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

{
    "plugins": [
        "si-components"
    ]
}

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

{
    "rules": {
        "si-components/sort-comp": "error"
    }
}

Supported Rules

/eslint-plugin-si-components/

    Package Sidebar

    Install

    npm i eslint-plugin-si-components

    Weekly Downloads

    1

    Version

    1.0.0

    License

    ISC

    Unpacked Size

    20.4 kB

    Total Files

    8

    Last publish

    Collaborators

    • tryenc