Package Exports
- eslint-utils
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (eslint-utils) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
eslint-utils
🏁 Goal
This package provides utility functions and classes for make ESLint custom rules.
For examples:
- getStaticValue evaluates static value on AST.
- PatternMatcher finds a regular expression pattern as handling escape sequences.
- ReferenceTracker checks 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 test
runs tests and measures coverage.npm run clean
removes the coverage result ofnpm test
command.npm run coverage
shows the coverage result of the lastnpm test
command.npm run lint
runs ESLint.npm run watch
runs tests on each file change.