2.3.0 ā€¢ Published 1 year ago

@fuelrats/eslint-plugin v2.3.0

Weekly downloads
6
License
MIT
Repository
github
Last release
1 year 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

1 year ago

2.4.0-canary.23

1 year ago

2.4.0-canary.11

3 years ago

2.4.0-canary.9

3 years ago

2.4.0-canary.7

3 years ago

2.4.0-canary.8

3 years ago

2.4.0-canary.6

3 years ago

2.4.0-canary.5

3 years ago

2.4.0-canary.3

3 years ago

2.4.0-canary.4

3 years ago

2.4.0-canary.1

3 years ago

2.4.0-canary.2

3 years ago

2.4.0-canary.0

3 years ago

2.3.0

3 years ago

2.2.0

4 years ago

2.2.0-rc.4

4 years ago

2.2.0-rc.5

4 years ago

2.2.0-rc.3

4 years ago