1.14.0 • Published 1 year ago
eslint-plugin-sui
Licence
ISC
Version
1.14.0
Deps
3
Size
45 kB
Vulns
0
Weekly
0
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.