Skip to content
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

Add prefer-t-regex rule #247

Merged
merged 17 commits into from
May 29, 2019
Merged

Conversation

GMartigny
Copy link
Contributor

Fix #163

Open the PR for review.
I've not done the "fixable" part yet. I feel like it's going break in a lot of corner cases.

index.js Outdated Show resolved Hide resolved
@sindresorhus sindresorhus changed the title Add prefer-t-regexp rule Add prefer-t-regexp rule May 25, 2019
@GMartigny GMartigny changed the title Add prefer-t-regexp rule Add prefer-t-regex rule May 27, 2019
@sindresorhus
Copy link
Member

I guess this is still waiting for the I've not done the "fixable" part yet. I feel like it's going break in a lot of corner cases. part.

rules/prefer-t-regex.js Outdated Show resolved Hide resolved
rules/prefer-t-regex.js Outdated Show resolved Hide resolved
rules/prefer-t-regex.js Outdated Show resolved Hide resolved
rules/prefer-t-regex.js Outdated Show resolved Hide resolved
test/prefer-t-regex.js Show resolved Hide resolved
@sindresorhus sindresorhus merged commit c165ac2 into avajs:master May 29, 2019
@sindresorhus
Copy link
Member

Looks great! Thanks for your continued contributions 🙌

@GMartigny GMartigny deleted the addPreferTRegexp branch May 30, 2019 10:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rule proposal: prefer-t-regex
2 participants