eslint-plugin-sui
v1.14.0
Published
Set of sui lint rules
Downloads
8,955
Readme
eslint-plugin-sui
Set of sui lint rules
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-sui
:
npm install eslint-plugin-sui --save-dev
Usage
Add sui
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"sui"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"sui/rule-name": 2
}
}
Configurations
TODO: Run eslint-doc-generator to generate the configs list (or delete this section if no configs are offered).
Rules
TODO: Run eslint-doc-generator to generate the rules list.