1.0.0 • Published 7 years ago

eslint-plugin-xurei v1.0.0

Weekly downloads
30
License
MIT
Repository
github
Last release
7 years ago

eslint-plugin-xurei

Custom eslint rules used in xurei's projects.

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-xurei:

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

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

Usage

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

{
    "plugins": [
        "xurei"
    ]
}

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

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

Supported Rules

  • no-relative-parent-imports