eslint-plugin-9to5
v0.0.1
Published
9to5 eslint rules
Downloads
21
Maintainers
Readme
eslint-plugin-9to5
9to5 eslint rules
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-9to5
:
npm install eslint-plugin-9to5 --save-dev
Usage
Add 9to5
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"9to5"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"9to5/rule-name": 2
}
}
Rules
🔧 Automatically fixable by the --fix
CLI option.
| Name | Description | 🔧 | | :------------------------------------------------------------- | :------------------------------------------------------------------------------ | :- | | force-nuxt-link-locale | Disallow usage of NuxtLink inside vue templates, suggest NuxtLinkLocale instead | 🔧 |