-
Notifications
You must be signed in to change notification settings - Fork 71
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 support for .jshintignore file #113
Comments
jhinzmann
added a commit
to jhinzmann/Sublime-JSHint
that referenced
this issue
Oct 18, 2015
Search for `.jshintignore` files in parent directories and evaluate ignore patterns by utilizing the python pathspec library This resolves victorporof#59 and resolves victorporof#113
Sorry for taking so long to get to this. Is it possible to rebase your changes to the current tip? Otherwise I'll look into it. Thank you! |
victorporof
changed the title
add support for .jshintignore file
Add support for .jshintignore file
Jan 18, 2016
@SET001 Yes this would be awesome. I actually have an issue where I'm using script tags for templating in an index.html file. e.g.
Obviously JSHint goes crazy trying to "hint" html markup in that script tag. It would be great to ignore these html files. |
jhinzmann
added a commit
to jhinzmann/Sublime-JSHint
that referenced
this issue
Feb 16, 2017
Search for `.jshintignore` files in parent directories and evaluate ignore patterns by utilizing the python pathspec library. According to the [jshint docs](http://jshint.com/docs/cli/#ignoring-files), only the first found `.jshintignore` is used by jshint. This plugin should mimic that behaviour. This resolves victorporof#59 and resolves victorporof#113
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add support for
.jshintignore
file. Without this there are no way to set ignored files.My current solution is to add
// jshint ignore: start
on the top of each file that should be ignored. But this is not as good as settings once something likespec/*.js
in.jshintignore
.The text was updated successfully, but these errors were encountered: