-
Notifications
You must be signed in to change notification settings - Fork 37
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
fix(rule-finder): Support scoped packages with dashes #305
Conversation
…d eslint plugin naming. fix sarbbottam#303
8312b20
to
2c12490
Compare
04c7f9f
to
0512480
Compare
Are there any other requested changes to get this PR moving along? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, i like the improvements
0512480
to
29d572a
Compare
@chrisblossom I'm afraid that now that this is rebased on top of eslint 6 support, the eslint 6 tests are failing. |
I’ll look into this soon. |
Looks like one of the issues is that eslint moved the naming file in v6.0.1: lib/cli-engine/naming.js |
Sigh. Let’s do another try/catch require on that then. |
…s too low with proxyquire
Tests pass now. Also increased the mocha timeout in ...
✓ no specifiedFile - all available rules including deprecated
1) specifiedFile (relative path) - unused rules
✓ specifiedFile (relative path) - unused rules including deprecated (1756ms)
✓ specifiedFile (relative path) - current rules (1697ms)
✓ specifiedFile (relative path) - current rule config (1722ms)
✓ specifiedFile (relative path) - plugin rules (1717ms)
...
64 passing (39s)
1 failing
1) rule-finder specifiedFile (relative path) - unused rules:
Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
at processImmediate (internal/timers.js:439:21) |
Who else needs to review this PR to get it merged and released? I'd like to be able to start using this with my typescript eslint config. |
d080cf2
to
1b9521b
Compare
Use eslint's internal functions to support shorthand eslint plugin naming.
fix #303