Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rajdee/eslint-plugin-declare-undef-vars
Eslint plugin that creates a list of undefined variables
https://github.com/rajdee/eslint-plugin-declare-undef-vars
Last synced: 24 days ago
JSON representation
Eslint plugin that creates a list of undefined variables
- Host: GitHub
- URL: https://github.com/rajdee/eslint-plugin-declare-undef-vars
- Owner: rajdee
- License: mit
- Created: 2024-03-15T08:53:34.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-03-15T08:59:18.000Z (10 months ago)
- Last Synced: 2024-10-29T10:48:43.971Z (2 months ago)
- Language: JavaScript
- Size: 37.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# eslint-plugin-declare-undef-vars
Get list of the undefined variables
## Installation
You'll first need to install [ESLint](https://eslint.org/):
```sh
npm i eslint --save-dev
```Next, install `eslint-plugin-declare-undef-vars`:
```sh
npm install eslint-plugin-declare-undef-vars --save-dev
```## Usage
Add `declare-undef-vars` to the plugins section of your `.eslintrc` configuration file. You can omit the `eslint-plugin-` prefix:
```json
{
"plugins": [
"declare-undef-vars"
]
}
```Then configure the rules you want to use under the rules section.
```json
{
"rules": {
"declare-undef-vars/rule-name": 2
}
}
```## Rules
TODO: Run eslint-doc-generator to generate the rules list.