0.0.3 • Published 1 year ago
eslint-plugin-my-work v0.0.3
eslint-plugin-my-work
for-work
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-my-work
:
npm install eslint-plugin-my-work --save-dev
Usage
Add my-work
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"my-work"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"my-work/rule-name": 2
}
}
Rules
TODO: Run eslint-doc-generator to generate the rules list.