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
Keep it around and maintain it, possibly even making it recommended again in the future if it gets more reliable
To deprecate it and remove it in a future version
#2443 mentions eslint-plugin-regex as a better alternative, but its unclear to me what a replacement for better-regex would look like with that module.
The rule uses a package "Published 7 years ago" https://www.npmjs.com/package/clean-regexp and it's the source of a lot of issues. Currently open:
better-regex
autofix breaks regular expression syntax:/|/g
->//g
#2314unicorn/better-regex
autofix breaks "match all" in multiline regexps #895Then check out
regexp-tree
issuesI disable it rather often, I suggest removing it from the
recommended
list or dropping/extracting the rule altogether.The text was updated successfully, but these errors were encountered: