eslint-plugin-kihakiha-plugin

0.2.0 • Public • Published

eslint-plugin-kihakiha-plugin

Eslint Plugin that helps with absolute and relative imports and checks if they are used correctly

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-kihakiha-plugin:

npm install eslint-plugin-kihakiha-plugin --save-dev

Usage

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

{
    "plugins": [
        "kihakiha-plugin"
    ]
}

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

{
    "rules": {
        "kihakiha-plugin/rule-name": 2
    }
}

Rules

TODO: Run eslint-doc-generator to generate the rules list.

/eslint-plugin-kihakiha-plugin/

    Package Sidebar

    Install

    npm i eslint-plugin-kihakiha-plugin

    Weekly Downloads

    1

    Version

    0.2.0

    License

    ISC

    Unpacked Size

    7.62 kB

    Total Files

    7

    Last publish

    Collaborators

    • kihakiha