Socket
Socket
Sign inDemoInstall

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

Package Overview
Dependencies
3
Maintainers
3
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Sort imports


Version published
Weekly downloads
118
decreased by-69.03%
Maintainers
3
Install size
248 kB
Created
Weekly downloads
 

Readme

Source

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

Keywords

FAQs

Last updated on 01 Mar 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc