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

feat(rule-finder): add --ext option #325

Merged
merged 3 commits into from
Jun 7, 2020
Merged

Conversation

nicolashenry
Copy link
Contributor

@nicolashenry nicolashenry commented May 19, 2020

fix #322
depends on #324

src/lib/rule-finder.js Outdated Show resolved Hide resolved
@nicolashenry
Copy link
Contributor Author

@ljharb I aligned this PR with what eslint does : https://github.com/eslint/eslint/blob/3a5fbb3d634be688615950c0a5fa8aead6ff08b5/lib/cli-engine/file-enumerator.js#L150

Note that I had to drop unicode flag in regexp compared to eslint because of node 4 support in tests (I think you should drop support for node 4 and 6, it's pretty old now).

@nicolashenry nicolashenry requested a review from ljharb May 24, 2020 01:24
@nicolashenry
Copy link
Contributor Author

@ljharb Should I change something else?

Copy link
Collaborator

@ljharb ljharb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I prefer to keep back compat as far as possible unless it's strictly necessary to drop.

LGTM pending one comment

src/lib/rule-finder.js Outdated Show resolved Hide resolved
Co-authored-by: Jordan Harband <ljharb@gmail.com>
@ljharb ljharb merged commit 1433cce into sarbbottam:master Jun 7, 2020
@nicolashenry
Copy link
Contributor Author

@ljharb It would be great to have a new release :) (when you have some time)

@ljharb
Copy link
Collaborator

ljharb commented Jul 14, 2020

#327

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.

Handle typescript-eslint configuration
3 participants