Skip to content

9to5/eslint-plugin-9to5

Repository files navigation

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 🔧

About

Custom eslint rules we use at 9to5-software

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published