Skip to content

v0.3.0

Compare
Choose a tag to compare
@ota-meshi ota-meshi released this 06 Mar 04:29
· 702 commits to master since this release

✨ 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.