1.2.3 • Published 1 month ago

@scrumble-nl/eslint-plugin-scrumble-rules v1.2.3

Weekly downloads
-
License
ISC
Repository
github
Last release
1 month 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 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"
    }
}

Supported Rules

  • sort-imports
2.0.0-beta.1

1 month ago

1.2.3

1 year ago

1.2.2

2 years ago

1.2.0

2 years ago

1.2.1

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.0

2 years ago