0.0.2 • Published 4 years ago

eslint-plugin-yotta-alloy v0.0.2

Weekly downloads
2
License
ISC
Repository
-
Last release
4 years ago

Alloy ESLint

Build status

Alloy custom rules

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install alloy-eslint:

Build

To build the latest eslint plugin from development use npm run build which will build its output to the dist directory.

Usage

Add alloy to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
  "plugins": ["alloy"]
}

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

{
  "rules": {
    "alloy/allowed-imports": "error"
  }
}

Supported Rules

  • allowed-imports