Validate that files exist #12
Closed
Labels
Comments
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
The text was updated successfully, but these errors were encountered: