eslint-plugin-yotta-alloy

0.0.2 • Public • Published

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

Package Sidebar

Install

npm i eslint-plugin-yotta-alloy

Weekly Downloads

2

Version

0.0.2

License

ISC

Unpacked Size

54.7 kB

Total Files

26

Last publish

Collaborators

  • tiago-yotta