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

Validate that files exist #12

Closed
nzakas opened this issue Jul 6, 2013 · 0 comments · May be fixed by Alex2289-king-designs-com/eslint#1 or Alex2289-king-designs-com/eslint#2
Closed

Validate that files exist #12

nzakas opened this issue Jul 6, 2013 · 0 comments · May be fixed by Alex2289-king-designs-com/eslint#1 or Alex2289-king-designs-com/eslint#2

Comments

@nzakas
Copy link
Member

@nzakas nzakas commented Jul 6, 2013

Right now, if you pass in a file that doesn't exist to eslint, it explodes. We need to handle this nicely and exit with a non-zero exit code. Having a nice message like "Could not find file foo/bar.js" is a good idea.

Perhaps it also shouldn't continue if any one of the files can't be found, so make this a pre-pass before doing any actual linting.

@nzakas nzakas closed this Jul 14, 2013
@eslint-deprecated eslint-deprecated bot locked and limited conversation to collaborators Feb 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

1 participant