eslint-plugin-xurei

1.0.0 • Public • Published

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

Package Sidebar

Install

npm i eslint-plugin-xurei

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

6.81 kB

Total Files

7

Last publish

Collaborators

  • xurei