@scrumble-nl/eslint-plugin-scrumble-rules

1.2.3 • Public • Published

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

Package Sidebar

Install

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

Weekly Downloads

254

Version

1.2.3

License

ISC

Unpacked Size

11.7 kB

Total Files

11

Last publish

Collaborators

  • pietrocorreo
  • luukdewaaier
  • ricoclark