@reelay/eslint-plugin-spothero

0.2.2 • Public • Published

@spothero/eslint-plugin-spothero

Custom ESLint rules written by and in use at SpotHero.

Installation

You'll first need to install ESLint:

$ npm install eslint --save-dev

Next, install @spothero/eslint-plugin-spothero:

$ npm install @spothero/eslint-plugin-spothero --save-dev

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

Usage

Add @spothero/eslint-plugin-spothero to the plugins section of your .eslintrc configuration file:

{
    "plugins": [
        "@spothero/eslint-plugin-spothero"
    ]
}

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

{
    "rules": {
        "@spothero/spothero/rule-name": 2
    }
}

Supported Rules

/@reelay/eslint-plugin-spothero/

    Package Sidebar

    Install

    npm i @reelay/eslint-plugin-spothero

    Weekly Downloads

    1

    Version

    0.2.2

    License

    Apache-2.0

    Unpacked Size

    8.79 kB

    Total Files

    9

    Last publish

    Collaborators

    • lyubimovxx.reelay
    • cjannenga312