eslint-plugin-shulex
v0.0.11
Published
shulex eslint plugin
Downloads
42
Maintainers
Readme
eslint-plugin-shulex
shulex eslint plugin
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-shulex
:
npm install eslint-plugin-shulex --save-dev
Usage
Add shulex
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": ["shulex"]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"shulex/no-local-storage": "error",
"shulex/no-session-storage": "error",
"shulex/hard-coded-i18n": ["error", { "ignoreTags": ["v-icon"],"ignores":[":","/"] }]
}
}
Supported Rules
- Fill in provided rules here