1.0.0 • Published 7 years ago
eslint-plugin-xurei v1.0.0
eslint-plugin-xurei
Custom eslint rules used in xurei's projects.
Installation
You'll first need to install ESLint:
$ npm i eslint --save-devNext, install eslint-plugin-xurei:
$ npm install eslint-plugin-xurei --save-devNote: 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
1.0.0
7 years ago