This package provides utility functions and classes for make ESLint custom rules.
For examples:
- getStaticValue evaluates static value on AST.
- ReferenceTracker checks the members of modules/globals as handling assignments and destructuring.
See documentation.
See releases.
Welcome contributing!
Please use GitHub's Issues/PRs.
npm testruns tests and measures coverage.npm run cleanremoves the coverage result ofnpm testcommand.npm run coverageshows the coverage result of the lastnpm testcommand.npm run lintruns ESLint.npm run watchruns tests on each file change.