https://github.com/tidev/eslint-plugin-alloy
Alloy specific rules for ESLint
https://github.com/tidev/eslint-plugin-alloy
npm-package
Last synced: 2 months ago
JSON representation
Alloy specific rules for ESLint
- Host: GitHub
- URL: https://github.com/tidev/eslint-plugin-alloy
- Owner: tidev
- License: other
- Created: 2018-04-16T21:02:04.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-03-06T21:42:24.000Z (almost 2 years ago)
- Last Synced: 2025-04-15T06:19:08.242Z (8 months ago)
- Topics: npm-package
- Language: JavaScript
- Homepage:
- Size: 297 KB
- Stars: 6
- Watchers: 14
- Forks: 4
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# ESLint-plugin-Alloy
Alloy specific linting rules for ESLint.
## Installation
Install [ESLint](https://www.github.com/eslint/eslint) either locally or globally.
```sh
$ npm install eslint --save-dev
```
If you installed `ESLint` globally, you have to install Alloy plugin globally too. Otherwise, install it locally.
```sh
$ npm install eslint-plugin-alloy --save-dev
```
Add "alloy" to the plugins section.
```json
{
"plugins": [
"alloy"
]
}
```
Enable the rules that you would like to use.
```json
"rules": {
"alloy/no-unused-vars": "error",
}
```
## List of supported rules
* [alloy/no-unused-vars](docs/rules/no-unused-vars.md): Extension of the built in [no-unused-vars](https://github.com/eslint/eslint/blob/master/docs/rules/no-unused-vars.md) 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](http://www.axway.com) All Rights Reserved.