Releases: ota-meshi/eslint-plugin-regexp
Releases · ota-meshi/eslint-plugin-regexp
v0.3.0
✨ 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 useRegExp#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.