Skip to content

Releases: ota-meshi/eslint-plugin-regexp

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

v0.3.0

06 Mar 04:29
Compare
Choose a tag to compare

✨ Enhancements

  • #28 Added regexp/no-useless-character-class rule that reports character classes that defines only one character.
  • #31 Added regexp/no-useless-non-greedy rule that reports unnecessary quantifier non-greedy (?).
  • #32 Added regexp/prefer-regexp-exec rule that aimed at enforcing the more performant way of applying regular expressions on strings.
  • #32 Added regexp/prefer-regexp-test rule that aimed to use RegExp#test to check if a pattern matches a string.
  • #33 Added regexp/prefer-unicode-codepoint-escapes rule that enforces the use of Unicode codepoint escapes instead of Unicode escapes using surrogate pairs.
  • #35 Added regexp/letter-case rule that aimed to unify the case of letters.
  • #34 Added regexp/no-useless-range rule that reports unnecessary range of characters by using a hyphen. e.g. [a-a]

⚙️ Updates

  • #29 Improved performance.

v0.2.2

28 Feb 10:15
Compare
Choose a tag to compare

🐛 Bug Fixes

  • #30 Fixed false positives for non-greedy flags in regexp/prefer-quantifier rule

v0.2.1

27 Feb 18:04
Compare
Choose a tag to compare

🐛 Bug Fixes

  • #25 Fixed false positives for symbols in regexp/prefer-quantifier rule.

v0.2.0

27 Feb 16:54
Compare
Choose a tag to compare

✨ Enhancements

  • #24 Added regexp/prefer-quantifier rule that aimed to use quantifiers instead of consecutive characters in regular expressions.

v0.1.1

07 Jul 05:20
Compare
Choose a tag to compare

🐛 Bugfixes

  • Fixed ruleset bug when using with ESLint 6

v0.1.0

07 Jul 04:17
ca97441
Compare
Choose a tag to compare

Release 🐣