0.0.9 • Published 10 months ago
eslint-plugin-lunacy-plugin v0.0.9
eslint-plugin-lunacy-plugin
plugin for production project
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-lunacy-plugin
:
npm i eslint-plugin-lunacy-plugin
Usage
Add lunacy-plugin
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"lunacy-plugin"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"lunacy-plugin/rule-name": 2
}
}
Supported Rules
- Fill in provided rules here