You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
xiaoz
db49ff5e85
|
3 years ago | |
---|---|---|
.. | ||
node_modules/eslint-visitor-keys | 3 years ago | |
LICENSE | 3 years ago | |
README.md | 3 years ago | |
index.js | 3 years ago | |
index.js.map | 3 years ago | |
index.mjs | 3 years ago | |
index.mjs.map | 3 years ago | |
package.json | 3 years ago |
README.md
eslint-utils
🏁 Goal
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.
📖 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.