@corefw/eslint-plugin-corefw

1.0.6 • Public • Published

eslint-plugin-corefw

An eslint plugin to enforce custom rules used by the Core Framework.

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-corefw:

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

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

Usage

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

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

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

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

Supported Rules

/@corefw/eslint-plugin-corefw/

    Package Sidebar

    Install

    npm i @corefw/eslint-plugin-corefw

    Weekly Downloads

    1

    Version

    1.0.6

    License

    MIT

    Unpacked Size

    29.7 kB

    Total Files

    16

    Last publish

    Collaborators

    • c2cs
    • vmadman