1.6.0 • Published 1 year ago

@productplan/eslint-plugin-custom-rules v1.6.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@productplan/eslint-plugin-custom-rules

Exposes a handful of rules that we prefer internally - both to help with generic best practices as well as some homebrew patterns for things like test linters.

Installation

You'll need to install both ESLint and @productplan/eslint-plugin-custom-rules.

Since these are already in the root package's package.json simply run:

$ yarn install

Usage

Add @productplan/eslint-plugin-custom-rules to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
    "plugins": [
       "@productplan/custom-rules"
    ]
}

Then configure the rules you want to use under the rules section. For example:

{
    "rules": {
        "@productplan/custom-rules/prefer-axios": 2
    }
}

Supported Rules

1.6.0

1 year ago

1.5.0

1 year ago

1.4.0

2 years ago

1.3.1

2 years ago

1.3.0

2 years ago

1.2.0

2 years ago

1.1.0

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago