9to5 eslint rules
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-9to5
:
npm install eslint-plugin-9to5 --save-dev
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
}
}
🔧 Automatically fixable by the --fix
CLI option.
Name | Description | 🔧 |
---|---|---|
force-nuxt-link-locale | Disallow usage of NuxtLink inside vue templates, suggest NuxtLinkLocale instead | 🔧 |