-
-
Notifications
You must be signed in to change notification settings - Fork 291
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 eslint-plugin-import
#109
Conversation
3935664
to
e7d4413
Compare
@sindresorhus I don't actually use The plugin looks really cool though, I'll probably add it to https://github.com/novemberborn/as-i-preach when I have some time. |
RE: Oh - you're one of those semicolon haters. |
@novemberborn Yeah, no worries. This is more about finding bugs in the |
I just feel so much freer without them! |
I think we should debate this at length and totally hijack this thread. Great use of everyone's time. |
06a19d1
to
be9d0f7
Compare
Does XO support the ignore and resolver settings? |
@adriantoine Not directly. We have a |
Landed in |
Just published v1.7.0 to npm. It doesn't address all the issues @sindresorhus raised, yet, but a number of them are resolved. |
be9d0f7
to
e5f737d
Compare
Thanks for fixing some of the issues. PR updated. We're getting closer to a merge :) |
e5f737d
to
de81c9d
Compare
de81c9d
to
c9c66e1
Compare
Discovered another issue: import-js/eslint-plugin-import#378 |
c9c66e1
to
7938f76
Compare
7938f76
to
63407e6
Compare
This PR has been opened long enough. I've disabled the offending rules for now and opened an issue to track them: #124 Thanks everyone for participating :D |
https://github.com/benmosher/eslint-plugin-import (@benmosher fyi)
@jamestalmage @novemberborn @vdemedes @kevva @SamVerschueren @jfmengels and anyone looking. I could use some help with testing this. Git checkout out this PR locally,
npm link
it globally, and runxo --no-local
on your projects to see if there are any problems (not lint violation, unless it's wrong).Known issues:
no-extraneous-dependencies
rule: Support optionalDependencies in theno-extraneous-dependencies
rule import-js/eslint-plugin-import#266newline-after-import
rule requires newline after every import: Thenewline-after-import
rule requires newline after every import import-js/eslint-plugin-import#318named
rule: Ignore CommonJS exports in thenamed
rule import-js/eslint-plugin-import#268import/extensions
Lodash modularized libs cause false positive forimport/extensions
import-js/eslint-plugin-import#378(Help welcome for those)