sarbbottam / eslint-find-rules

Find built-in ESLint rules you don't have in your custom config
http://npm.im/eslint-find-rules
MIT License
201 stars 33 forks source link

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

Closed nicolashenry closed 4 years ago

nicolashenry commented 4 years ago

fix #322 ~depends on #324~

nicolashenry commented 4 years ago

@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 commented 4 years ago

@ljharb Should I change something else?

nicolashenry commented 4 years ago

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

ljharb commented 4 years ago

327