Permalink
Cannot retrieve contributors at this time
37 lines (23 sloc)
1.61 KB
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
codeql-action/node_modules/@eslint-community/eslint-utils/README.md
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# @eslint-community/eslint-utils | |
[](https://www.npmjs.com/package/@eslint-community/eslint-utils) | |
[](http://www.npmtrends.com/@eslint-community/eslint-utils) | |
[](https://github.com/eslint-community/eslint-utils/actions) | |
[](https://codecov.io/gh/eslint-community/eslint-utils) | |
## 🏁 Goal | |
This package provides utility functions and classes for make ESLint custom rules. | |
For examples: | |
- [`getStaticValue`](https://eslint-community.github.io/eslint-utils/api/ast-utils.html#getstaticvalue) evaluates static value on AST. | |
- [`ReferenceTracker`](https://eslint-community.github.io/eslint-utils/api/scope-utils.html#referencetracker-class) checks the members of modules/globals as handling assignments and destructuring. | |
## 📖 Usage | |
See [documentation](https://eslint-community.github.io/eslint-utils). | |
## 📰 Changelog | |
See [releases](https://github.com/eslint-community/eslint-utils/releases). | |
## ❤️ Contributing | |
Welcome contributing! | |
Please use GitHub's Issues/PRs. | |
### Development Tools | |
- `npm test` runs tests and measures coverage. | |
- `npm run clean` removes the coverage result of `npm test` command. | |
- `npm run coverage` shows the coverage result of the last `npm test` command. | |
- `npm run lint` runs ESLint. | |
- `npm run watch` runs tests on each file change. |