Releases: ota-meshi/eslint-plugin-regexp
Releases · ota-meshi/eslint-plugin-regexp
v0.6.3
v0.6.2
v0.6.1
v0.6.0
✨ 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
v0.4.3
v0.4.2
v0.4.1
v0.4.0
✨ 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.