eslint-plugin-alloy
v1.2.1
Published
Alloy specific rules for ESLint
Downloads
61
Readme
ESLint-plugin-Alloy
Alloy specific linting rules for ESLint.
Installation
Install ESLint either locally or globally.
$ npm install eslint --save-dev
If you installed ESLint
globally, you have to install Alloy plugin globally too. Otherwise, install it locally.
$ npm install eslint-plugin-alloy --save-dev
Add "alloy" to the plugins section.
{
"plugins": [
"alloy"
]
}
Enable the rules that you would like to use.
"rules": {
"alloy/no-unused-vars": "error",
}
List of supported rules
- alloy/no-unused-vars: Extension of the built in no-unused-vars that also looks up functions used in view files.
License
This project is open source and provided under the Apache Public License (version 2). Please make sure you see the LICENSE file included in this distribution for more details on the license. Also, please take notice of the privacy notice at the end of the file.
(C) Copyright 2017-2018, Axway, Inc All Rights Reserved.