@eslint-community/eslint-utils
🏁 Goal
This package provides utility functions and classes for make ESLint custom rules.
For examples:
- getStaticValueevaluates static value on AST.
- ReferenceTrackerchecks the members of modules/globals as handling assignments and destructuring.
📖 Usage
See documentation.
📰 Changelog
See releases.
❤️ Contributing
Welcome contributing!
Please use GitHub's Issues/PRs.
Development Tools
- npm testruns tests and measures coverage.
- npm run cleanremoves the coverage result of- npm testcommand.
- npm run coverageshows the coverage result of the last- npm testcommand.
- npm run lintruns ESLint.
- npm run watchruns tests on each file change.