1.1.0 • Published 5 years ago
eslint-plugin-leboncoin v1.1.0
eslint-plugin-leboncoin
Leboncoin custom ESLint rules
Installation
You'll first need to install ESLint:
$ npm i eslint --save-devNext, install eslint-plugin-leboncoin:
$ npm install eslint-plugin-leboncoin --save-devNote: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-leboncoin globally.
Usage
Add leboncoin to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"leboncoin"
]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"leboncoin/rule-name": 2
}
}