Skip to content

Releases: ota-meshi/eslint-plugin-regexp

v0.6.3

24 Mar 13:56
Compare
Choose a tag to compare

🐛 Big Fixes

  • #73 Fixed false positives for match with g flag in regexp/prefer-regexp-test rule.

v0.6.2

22 Mar 10:01
Compare
Choose a tag to compare

🐛 Bug Fixes

  • #69 Fixed false positives for regular expressions that are used multiple times in regexp/no-unused-capturing-group.

v0.6.1

22 Mar 08:44
Compare
Choose a tag to compare

🐛 Bug Fixes

  • #66 Fixed false positives for quantifier in regexp/no-useless-non-capturing-group rule.

v0.6.0

22 Mar 06:14
Compare
Choose a tag to compare

✨ Enhancements

  • #60 Added regexp/no-legacy-features rule that disallow legacy RegExp features.
  • #62 Added regexp/no-useless-dollar-replacements rule that aims to detect and disallow useless $ replacements in regular expression replacements.
  • #62 Added regexp/prefer-escape-replacement-dollar-char rule that aims to enforce escape when using the $ character in replacement pattern of string replacement.
  • #65 Added regexp/no-unused-capturing-group rule that disallow unused capturing group.

v0.5.0

16 Mar 05:30
Compare
Choose a tag to compare

✨ Enhancements

  • #56 Added target option to regexp/prefer-range rule.

⚙️ Update

  • #56 Changed the default behavior of the regexp/prefer-range rule to target: "alphanumeric".
  • #57 Improved reporting of new RegExp().

v0.4.3

13 Mar 07:11
Compare
Choose a tag to compare

🐛 Bug Fixes

  • #53 Fixed wrong autofix for regexp/order-in-character-class rule.

v0.4.2

13 Mar 06:44
Compare
Choose a tag to compare

🐛 Bug Fixes

  • #52 Fixed crash in regexp/order-in-character-class rule.

v0.4.1

13 Mar 05:42
Compare
Choose a tag to compare

🐛 Bug Fixes

  • #50 Fixed wrong autofix for regexp/order-in-character-class rule.

v0.4.0

12 Mar 23:52
Compare
Choose a tag to compare

✨ Enhancements

  • #36 Added regexp/prefer-range rule that aimed to use ranges instead of multiple adjacent characters in character class.
  • #39 Added regexp/no-dupe-disjunctions rule that disallows duplicate disjunctions.
  • #40 Added regexp/prefer-character-class rule that aimed to use character classes instead of the disjunction of single element alternatives.
  • #43 Added regexp/no-useless-non-capturing-group rule that reports unnecessary Non-capturing group
  • #44 Added regexp/no-useless-escape rule that reports unnecessary escape characters in RegExp.
  • #47 Added regexp/negation rule that enforces use of \D, \W, \S and \P on negation.
  • #48 Added regexp/order-in-character-class rule that checks elements of character classes are sorted.
  • #45 Added support for case checking of hex escapes and control escapes to regexp/letter-case rule.

v0.3.1

07 Mar 14:28
Compare
Choose a tag to compare

🐛 Bug Fixes

  • #42 Fixed false positives for backreference and invalid escape in regexp/no-useless-character-class rule