0.0.2 • Published 5 years ago
eslint-plugin-yotta-alloy v0.0.2
Alloy ESLint
Alloy custom rules
Installation
You'll first need to install ESLint:
$ npm i eslint --save-devNext, 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