ESLint plugin for finding RegExp mistakes and RegExp style guide violations.
82
Regex correctness guards for invalid, duplicate, or empty constructs
Plugin setup
100%
100%
Invalid regex rule
100%
100%
Duplicate detection
100%
100%
Empty construct checks
75%
100%
ESLint-sourced data
100%
100%
Sorted output
100%
100%
Rule presets for flat and legacy ESLint configs
Flat preset
100%
100%
Flat duplicate detection
100%
100%
Legacy preset
100%
0%
Legacy g-flag rule
100%
0%
Autofix and suggestion coverage across regex lint rules
Plugin setup
60%
60%
Autofix usage
88%
92%
Suggestion handling
30%
50%
Preset toggle
80%
93%
Rule metadata
0%
0%
Result detail
70%
90%
Structured capture/backreference rules including named groups and result groups
Named captures
100%
100%
Named backrefs
100%
100%
Result groups access
100%
100%
Unused captures
0%
100%
Plugin wiring
100%
100%
Unicode-aware linting including required flags, codepoint escapes, and property naming
Plugin setup
100%
100%
Unicode flags
100%
92%
Codepoint escapes
100%
100%
Property naming
100%
100%
Rule-targeted tests
100%
80%
ReDoS protection via super-linear backtracking and move checks
Backtracking rule
100%
100%
Move rule
100%
100%
Plugin wiring
100%
100%
Result mapping
100%
100%
Lookaround and quantifier optimization for complex regex flows
Plugin base
100%
90%
Nested lookaround check
100%
92%
Quantifier merge check
0%
20%
ESLint runner
100%
93%
Severity overrides
33%
53%
Style normalization for character classes, quantifiers, flags, and escapes
Plugin wiring
100%
100%
Class normalization
100%
100%
Quantifier shorthand
100%
100%
Flag ordering
100%
100%
Escape enforcement
0%
0%
RegExp API usage guidance (exec/test selection and safe replacements)
Plugin setup
100%
100%
Boolean checks
100%
100%
Match extraction
100%
100%
Escape dollars
100%
100%
Avoid useless tokens
100%
100%
Set and range optimization constrained by allowedCharacterRanges setting
Plugin wired
90%
50%
Allowed ranges
75%
100%
Range optimizer
85%
75%
Disallowed ranges
30%
25%
Lint execution
40%
40%
Install with Tessl CLI
npx tessl i tessl/npm-eslint-plugin-regexp