@rabus/eslint-plugin-dx-rules
v1.1.1
Published
Custom ESLint rules lib
Downloads
378
Maintainers
Readme
Installation
You'll first need to install ESLint:
$ npm i eslint --save-dev
Next, install eslint-plugin-hooks
:
$ npm i @rabus/eslint-plugin-dx-rules --save-dev
Usage
Add "@rabus/dx-rules"
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": ["@rabus/dx-rules"]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"@rabus/dx-rules/no-div-in-typography": "warn"
}
}