Files
node/tools/node_modules/eslint/node_modules/eslint-utils
Yuta Hiroto 98d461e8cc tools: update ESLint to 5.2.0
PR-URL: https://github.com/nodejs/node/pull/21817
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: James M Snell <jasnell@gmail.com>
2018-07-31 09:35:46 +02:00
..
2018-07-31 09:35:46 +02:00
2018-07-31 09:35:46 +02:00
2018-07-31 09:35:46 +02:00
2018-07-31 09:35:46 +02:00
2018-07-31 09:35:46 +02:00
2018-07-31 09:35:46 +02:00
2018-07-31 09:35:46 +02:00

eslint-utils

npm version Downloads/month Build Status Coverage Status Dependency Status

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