eslint-plugin-regexp weekly downloads statistics
By ota-meshi (10 listings) · npm · ESLint plugins
ESLint plugin for finding RegExp mistakes and RegExp style guide violations.
eslint-plugin-regexp has 1,257,493 recorded weekly downloads on npm, a decrease of 43.0% over the past 30 days, ranking #176 of 2,256 tracked listings.
About eslint-plugin-regexp
Introduction
eslint-plugin-regexp is ESLint plugin for finding RegExp mistakes and RegExp style guide violations.
:name_badge: Features
This ESLint plugin provides linting rules relate to better ways to help you avoid problems when using RegExp.
• Find the wrong usage of regular expressions, and their hints. • Enforces a consistent style of regular expressions. • Find hints for writing optimized regular expressions. • 80 plugin rules for regular expression syntax and features.
You can check on the Online DEMO.
:book: Documentation
See documents.
:cd: Installation
Requirements
- ESLint v9.38.0 and above - Node.js v20.19.0, v22.13.0, v24 and above
:book: Usage
Add regexp to the plugins section of your eslint.config.js configuration file (you can omit the eslint-plugin- prefix) and either use one of the two configurations available (recommended or all) or configure the rules you want:
The recommended configuration
The plugin.configs.recommended config enables a subset of the rules that should be most useful to most users. See lib/configs/rules/recommended.ts for more details.
Advanced Configuration
Override/add specific rules configurations. See also: http://eslint.org/docs/user-guide/configuring.
Using the all configuration
The plugin.configs.all config enables all rules. It's meant for testing, not for production use because it changes with every minor and major version of the plugin. Use it at your own risk. See lib/configs/rules/all.ts for more details.
:white_check_mark: Rules
💼 Configurations enabled in.\ ⚠️ Configurations set to warn in.\ 🟢 Set in the flat/recommended configuration.\ 🔵 Set in the recommended configuration.\ 🔧 Automatically fixable by the --fix CLI option.\ 💡 Manually fixable by editor suggestions.
Possible Errors
| Name | Description | 💼 | ⚠️ | 🔧 | 💡 |
| no-contradiction-with-assertion | disallow elements that contradict assertions | 🟢 🔵 | | | 💡 | | no-control-character | disallow control characters | | | | 💡 | | no-dupe-disjunctions | disallow duplicate disjunctions | 🟢 🔵 | | | 💡 | | no-empty-alternative | disallow alternatives without elements | | 🟢 🔵 | | 💡 | | no-empty-capturing-group | disallow capturing group that captures empty. | 🟢 🔵 | | | | | no-empty-character-class | disallow character classes that match no characters | 🟢 🔵 | | | | | no-empty-group | disallow empty group | 🟢 🔵 | | | | | no-empty-lookarounds-assertion | disallow empty lookahead assertion or empty lookbehind assertion | 🟢 🔵 | | | | | no-escape-backspace | disallow escape backspace ([\b]) | 🟢 🔵 | | | 💡 | | no-invalid-regexp | disallow invalid regular expression strings in RegExp constructors | 🟢 🔵 | | | | | no-lazy-ends | disallow lazy quantifiers at the end of an expression | | 🟢 🔵 | | 💡 | | no-misleading-capturing-group | disallow capturing groups that do not behave as one would expect | 🟢 🔵 | | | 💡 | | no-misleading-unicode-character | disallow multi-code-point characters in character classes and quantifiers | 🟢 🔵 | | 🔧 | 💡 | | no-missing-g-flag | disallow missing g flag in patterns used in String#matchAll and String#replaceAll | 🟢 🔵 | | 🔧 | | | no-optional-assertion | disallow optional assertions | 🟢 🔵 | | | | | no-potentially-useless-backreference | disallow backreferences that reference a group that might not be matched | | 🟢 🔵 | | | | no-super-linear-backtracking | disallow exponential and polynomial backtracking | 🟢 🔵 | | 🔧 | | | no-super-linear-move | disallow quantifiers that cause quadratic moves | | | | | | no-useless-assertions | disallow assertions that are known to always accept (or reject) | 🟢 🔵 | | | 💡 | | no-useless-backreference | disallow useless backreferences in regular expressions | 🟢 🔵 | | | | | no-useless-dollar-replacements | disallow useless $ replacements in replacement string | 🟢 🔵 | | | | | strict | disallow not strictly valid regular expressions | 🟢 🔵 | | 🔧 | 💡 |
Best Practices
| Name | Description | 💼 | ⚠️ | 🔧 | 💡 |…
Description from the npm listing.
- eslint
- eslintplugin
- eslint-plugin
- regexp
- regex
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (543)Similar npm ESLint plugins plugins
All 20 eslint-plugin-regexp alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/eslint-plugin-regexp. First seen Oct 16, 2026; last successful collection Oct 19, 2026. See the methodology.