Skip to content

obey .eslintignore settings #46

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

Closed
clintwood opened this issue May 3, 2015 · 3 comments
Closed

obey .eslintignore settings #46

clintwood opened this issue May 3, 2015 · 3 comments

Comments

@clintwood
Copy link

Using this plugin together with babel-sublime as per this excellent article Lint Like It’s 2015 by Dan Abramov!

What would be great is if the linter obeyed .eslintignore settings as per the documentation. I'm assuming that it is not using the ignore file because code is passed to eslint via stdin.

I took a tiny look into this and it looks like one would have to lint using the tmpfile method rather than using stdin when executing the linter cmd. Perhaps then it would obey the .eslintignore setttings.

@roadhump
Copy link
Collaborator

roadhump commented May 3, 2015

This issue gave me a thought to create an issue for ESLint eslint/eslint#2432 which should allow to check .eslintignore in plugin.

@clintwood
Copy link
Author

@roadhump, thanks for looking into this!

@roadhump roadhump reopened this May 8, 2015
@roadhump
Copy link
Collaborator

roadhump commented May 8, 2015

Fixed in #49, waiting for new eslint version to make a release

@roadhump roadhump closed this as completed May 8, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants