You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using eslint-plugin-optimize-regex and I would prefer [-\w] to not be transformed into [\w-]. This seems to be caused by charClassClassrangesMerge, which obviously I could just blacklist. But it would be neat if I didn't have to and this transform would simply do nothing if no ranges were successfully merged. Perhaps the sorting could be added as a separate transform, which I could then blacklist.
I'm using version 0.1.24.
The text was updated successfully, but these errors were encountered:
I'm using
eslint-plugin-optimize-regex
and I would prefer[-\w]
to not be transformed into[\w-]
. This seems to be caused bycharClassClassrangesMerge
, which obviously I could just blacklist. But it would be neat if I didn't have to and this transform would simply do nothing if no ranges were successfully merged. Perhaps the sorting could be added as a separate transform, which I could then blacklist.I'm using version 0.1.24.
The text was updated successfully, but these errors were encountered: