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 eslint-plugin-import #109

Merged
merged 1 commit into from Jun 15, 2016
Merged

add eslint-plugin-import #109

merged 1 commit into from Jun 15, 2016

Conversation

sindresorhus
Copy link
Member

@sindresorhus sindresorhus commented Apr 25, 2016

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 run xo --no-local on your projects to see if there are any problems (not lint violation, unless it's wrong).

Known issues:

(Help welcome for those)

@novemberborn
Copy link

@sindresorhus I don't actually use xo in my own projects, so no comment from me really 😄

The plugin looks really cool though, I'll probably add it to https://github.com/novemberborn/as-i-preach when I have some time.

@jamestalmage
Copy link
Contributor

RE: as-i-preach.

Oh - you're one of those semicolon haters.

@sindresorhus
Copy link
Member Author

@novemberborn Yeah, no worries. This is more about finding bugs in the import plugin, so same result if you add the plugin to your own shareable config and run ESLint on your projects.

@novemberborn
Copy link

Oh - you're one of those semicolon haters.

I just feel so much freer without them!

@jamestalmage
Copy link
Contributor

I think we should debate this at length and totally hijack this thread. Great use of everyone's time.

@sindresorhus
Copy link
Member Author

@adriantoine
Copy link

adriantoine commented May 2, 2016

Does XO support the ignore and resolver settings?

@sindresorhus
Copy link
Member Author

@adriantoine Not directly. We have a rules option where you can override and define rules for any plugin, including this one.

@jfmengels
Copy link
Contributor

jfmengels commented May 6, 2016

Support optionalDependencies in the no-extraneous-dependencies rule: import-js/eslint-plugin-import#266

Landed in v1.7.0

@benmosher
Copy link

benmosher commented May 6, 2016

Just published v1.7.0 to npm. It doesn't address all the issues @sindresorhus raised, yet, but a number of them are resolved.

@sindresorhus
Copy link
Member Author

Thanks for fixing some of the issues. PR updated. We're getting closer to a merge :)

@sindresorhus
Copy link
Member Author

Discovered another issue: import-js/eslint-plugin-import#378

@sindresorhus
Copy link
Member Author

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

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.

None yet

6 participants