New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make regex-shorthand
rule use regexp-tree
for regex literals
#437
Conversation
regex-shorthand
to use regexp-tree
for regex literals
wow, so many regexp in codebase can be optimized |
Yah a couple. Most of the changes are re-ordering though.
Yep. That's what #261 was based off of too. But just for regex literals. |
@jdanil off topic , how did you fix those |
regex-shorthand
to use regexp-tree
for regex literalsregex-shorthand
to use regexp-tree
for regex literals
regex-shorthand
to use regexp-tree
for regex literalsregex-shorthand
rule use regexp-tree
for regex literals
I used the optimised regex from |
@jdanil I mean did you fix them by I put a message here, https://travis-ci.org/sindresorhus/eslint-plugin-unicorn/jobs/612730929#L266 But not sure is it clear |
Ohh. No I missed that script and comment. |
@jdanil thanks for your feedback. |
Continuing on from #261 to fix #157.
regexp-tree
to optimize for more cases.regex-shorthand
code errors ineslint-plugin-unicorn
.IssueHunt Summary
Referenced issues
This pull request has been submitted to:
regex-shorthand
rule has a false-negativeIssueHunt has been backed by the following sponsors. Become a sponsor