2.1.3 • Published 1 year ago

@scrumble-nl/eslint-plugin-scrumble-rules v2.1.3

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

Eslint plugin scrumble rules

Eslint plugin for custom rules used by Scrumble. Currently only import sorting is included

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install @scrumble-nl/eslint-plugin-scrumble-rules:

npm i@scrumble-nl/eslint-plugin-scrumble-rules --save-dev

Usage

Add @scrumble-nl/scrumble-rules to the plugins section of your .eslintrc or eslint.config.mjs configuration file. You can omit the eslint-plugin- prefix:

{
    "plugins": [
        "@scrumble-nl/scrumble-rules"
    ]
}

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

{
    "rules": {
        "@scrumble-nl/scrumble-rules/sort-imports": "warn",
        "@scrumble-nl/scrumble-rules/ignore-comment": "warn"
    }
}

Supported Rules

  • sort-imports
  • ignore-comment
2.1.2

1 year ago

2.1.1

1 year ago

2.1.3

1 year ago

2.1.0

1 year ago

2.0.0-beta.9

2 years ago

2.0.0-beta.8

2 years ago

2.0.0-beta.7

2 years ago

1.2.4

2 years ago

2.0.0-beta.2

2 years ago

2.0.0-beta.6

2 years ago

2.0.0-beta.4

2 years ago

2.0.0

2 years ago

2.0.0-beta.3

2 years ago

1.2.4-rc.1

2 years ago

2.0.0-beta.11

2 years ago

2.0.0-beta.10

2 years ago

2.0.0-beta.1

2 years ago

1.2.3

3 years ago

1.2.2

4 years ago

1.2.0

4 years ago

1.2.1

4 years ago

1.1.4

4 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.0

4 years ago