eslint-plugin-yotta-alloy
v0.0.2
Published
Alloy ESLint custom rules
Downloads
6
Maintainers
Readme
Alloy ESLint
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