0.2.0 • Published 2 years ago
eslint-plugin-dmojk-plugin v0.2.0
eslint-plugin-dmojk-plugin
plugin for fsd
Installation
You'll first need to install ESLint:
npm i eslint --save-devNext, install eslint-plugin-dmojk-plugin:
npm install eslint-plugin-dmojk-plugin --save-devUsage
Add dmojk-plugin to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"dmojk-plugin"
]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"dmojk-plugin/rule-name": 2
}
}Rules
TODO: Run eslint-doc-generator to generate the rules list.