Skip to content

mysticatea/eslint-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

4942012 · Oct 20, 2019

History

49 Commits
Oct 20, 2019
May 17, 2018
Oct 20, 2019
Aug 20, 2019
Aug 20, 2019
Oct 20, 2019
Oct 20, 2019
Jul 14, 2019
May 3, 2018
May 2, 2018
May 3, 2018
May 2, 2018
Oct 20, 2019
May 2, 2018
Oct 20, 2019
Oct 20, 2019
Jul 14, 2019

Repository files navigation

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.