2.3.0 • Published 2 years ago

@fuelrats/eslint-plugin v2.3.0

Weekly downloads
6
License
MIT
Repository
github
Last release
2 years ago

@fuelrats/eslint-plugin

Companion rules for @fuelrats/eslint-config

Installation

We'll assume you already have ESLint installed. If not, go get started!

You should also setup babel as most of these rules only work with @babel/eslint-parser. If you haven't, go here.

If you are using @fuelrats/eslint-config, all of this setup should be done already.

Now, lets install the plugin

$ npm install --save-dev @fuelrats/eslint-plugin
# or
$ yarn add --dev @fuelrats/eslint-plugin

And thats it! See Usage below on how to activate this plugin.

Usage

With @fuelrats/eslint-config

There is an optional plugin ruleset within the config package. Add it to your extends array to activate it:

{
    "extends": [
        "@fuelrats/eslint-config",
        "@fuelrats/eslint-config/plugins/fuelrats"
    ]
}

Without @fuelrats/eslint-config

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

{
    "plugins": [
        "@fuelrats"
    ]
}

Then configure the rules you want to use under the rules section.

{
    "rules": {
        "@fuelrats/no-mixed-access-class-members": "error"
    }
}

Rules

āœ… = Recommended rule
šŸ”§ = Auto-fixable with "--fix"
šŸ’­ = provides suggestions to fix the issue
3.0.0-canary.1

2 years ago

2.4.0-canary.23

2 years ago

2.4.0-canary.11

4 years ago

2.4.0-canary.9

4 years ago

2.4.0-canary.7

4 years ago

2.4.0-canary.8

4 years ago

2.4.0-canary.6

4 years ago

2.4.0-canary.5

4 years ago

2.4.0-canary.3

4 years ago

2.4.0-canary.4

4 years ago

2.4.0-canary.1

4 years ago

2.4.0-canary.2

4 years ago

2.4.0-canary.0

4 years ago

2.3.0

5 years ago

2.2.0

5 years ago

2.2.0-rc.4

5 years ago

2.2.0-rc.5

5 years ago

2.2.0-rc.3

5 years ago