0.0.1 • Published 2 years ago
eslint-plugin-9to5 v0.0.1
eslint-plugin-9to5
9to5 eslint rules
Installation
You'll first need to install ESLint:
npm i eslint --save-devNext, install eslint-plugin-9to5:
npm install eslint-plugin-9to5 --save-devUsage
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 | 🔧 |