Skip to content

Releases: ota-meshi/eslint-plugin-regexp

v2.7.0

15 Nov 00:33
ededa82
Compare
Choose a tag to compare

Minor Changes

  • Add support for ES2025 duplicate named capturing groups (#752)

Patch Changes

  • Updates unicode property alias resource with latest (#766)

  • fix(regexp/no-useless-dollar-replacements): Correct capturing group not found grammar (#776)

v2.6.0

21 May 12:48
592cb53
Compare
Choose a tag to compare

Minor Changes

  • Improved compatibility of type information with typescript-eslint in config. (#740)

v2.5.0

08 Apr 00:42
0cb6eef
Compare
Choose a tag to compare

Minor Changes

  • Add regexp/unicode-property rule to enforce consistent naming of unicode properties (#722)

Patch Changes

  • Publish type declarations (#724)

v2.4.0

24 Mar 05:51
868cc25
Compare
Choose a tag to compare

Minor Changes

  • Change default configuration of prefer-d to ignore digits inside character classes. (#715)

v2.3.0

09 Mar 13:15
e75e6d3
Compare
Choose a tag to compare

Minor Changes

  • Add support for flat config (#702)

v2.2.0

08 Jan 13:19
7aebaa0
Compare
Choose a tag to compare

Minor Changes

  • Add allowNamed option to no-unused-capturing-group rule to allow for unused named capturing groups. (#689)

v2.1.2

04 Dec 03:06
be8d93f
Compare
Choose a tag to compare

Patch Changes

  • Fixed false positives for hasIndices in regexp/no-unused-capturing-group (#676)

v2.1.1

23 Oct 07:13
69b9035
Compare
Choose a tag to compare

Patch Changes

  • Improved error message and docs for regexp/no-useless-non-capturing-group (#668)

v2.1.0

21 Oct 07:48
9918179
Compare
Choose a tag to compare

Minor Changes

  • Improve detection of useless assertions for regexp/no-useless-assertion (#663)

  • Add suggestions for regexp/no-useless-assertion (#666)

Patch Changes

  • Fixed crash for v flag in regexp/optimal-quantifier-concatenation (#660)

  • Fixed minor mistake in message of no-misleading-unicode-character (#664)

v2.0.0

16 Oct 23:28
1cd544d
Compare
Choose a tag to compare

Major Changes

  • Drop support for Node.js <=v17, and v19 (#550)

  • Add regexp/simplify-set-operations rule (#595)

  • Remove deprecated rules (#652)

  • Add regexp/no-useless-string-literal rule (#639)

  • Add regexp/no-empty-string-literal rule (#632)

  • Change recommended config (#552)

  • Drop support for ESLint < v8.44 (#558)

  • Add regexp/no-useless-set-operand rule (#625)

  • Add regexp/prefer-set-operation rule (#616)

  • Use jsdoc-type-pratt-parser instead of jsdoctypeparser (#651)

Minor Changes

  • Add support for v flag to regexp/no-dupe-disjunctions (#612)

  • Add support for v flag to regexp/optimal-quantifier-concatenation (#618)

  • Add support for v flag to regexp/no-non-standard-flag rule (#596)

  • Add regexp/grapheme-string-literal rule (#646)

  • Add support for v flag to regexp/prefer-character-class (#619)

  • Improve regexp/strict rule to ignore patterns with v flag (#591)

  • Add support for string literal to regexp/no-empty-alternative (#633)

  • Add support for v flag to regexp/prefer-d rule (#602)

  • Add support for v flag to regexp/use-ignore-case (#617)

  • Update refa, regexp-ast-analysis, and scslre (#568)

  • Add support for v flag to regexp/prefer-unicode-codepoint-escapes rule (#592)

  • Improve regexp/negation rule to report nested negation character classes (#595)

  • Add support for v flag to regexp/no-dupe-characters-character-class rule (#608)

  • Add support for v flag to regexp/no-useless-character-class rule (#593)

  • Add support for v flag to regexp/sort-character-class-elements rule (#588)

  • Add support for v flag to regexp/negation rule (#560)

  • Use Intl.Segmenter instead of grapheme-splitter (#642)

  • Add support for v flag to regexp/no-misleading-capturing-group (#620)

  • Add support for v flag to regexp/unicode-escape rule (#592)

  • Add support for v flag to regexp/match-any (#628)

  • Improve regexp/require-unicode-regexp rule to allow patterns with v flag (#586)

  • Add support for v flag to regexp/no-contradiction-with-assertion (#606)

  • Add support for v flag to regexp/no-empty-character-class (#637)

  • Add suggestions for regexp/no-lazy-ends (#624)

  • Improve regexp/sort-alternatives rule to add support for string alternatives and v flag (#587)

  • Add suggestions for regexp/optimal-lookaround-quantifier (#623)

  • Add support for v flag to regexp/no-useless-escape rule (#585)

  • Update @eslint-community/regexpp to v4.6 (#554)

  • Add support for v flag to regexp/no-misleading-unicode-character rule (#584)

  • Add regexp/require-unicode-sets-regexp rule (#598)

  • Add suggestions for regexp/no-empty-alternative (#621)

  • prefer-w: Add support for v flag (#578)

  • Added suggestions for regexp/no-escape-backspace (#622)

  • Improve regexp/no-invalid-regexp rule to check for unknown pattern flags. (#583)

  • Add support for v flag to regexp/prefer-predefined-assertion (#611)

Patch Changes

  • fix: update regexpp (#634)

  • Fixed incorrect default of ignoreSticky option in regexp/no-super-linear-move (#630)

  • Use new refa AST transformers and fixed max character for v-flag regexes in no-dupe-disjunctions and no-super-linear-move. (#569)

  • fix: autofix for incorrect no-escaping in regexp/no-useless-string-literal (#645)

  • Fix typo in no-useless-non-capturing-group (#555)

  • Use new ESLint API (#654)

  • Account for v flag in 2 util methods (#570)

  • Add more v flag tests (#627)

  • Fix parseFlags (#571)