Utilities for ESLint plugins.
npm install eslint-utils




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 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.