how to use .jshintignore

12,507 views
Skip to first unread message

Apratim Ghosh

unread,
Apr 18, 2013, 8:24:01 AM4/18/13
to jsh...@googlegroups.com
Hi All,
I am trying to ignore some 3rd party libraries out of JShint, but unable to figure out how can I use this.
 
Any help will be hugely appreciated
 
 
Thanks,
Apratim

Anton Kovalyov

unread,
Apr 18, 2013, 1:10:10 PM4/18/13
to jsh...@googlegroups.com
Did you read our docs on jshint.com?


--
You received this message because you are subscribed to the Google Groups "JSHint" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jshint+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Apratim Ghosh

unread,
Apr 18, 2013, 11:11:32 PM4/18/13
to jsh...@googlegroups.com
Yes I did.. Following is what I could find.. But it doesn't say where to place it or how to pass that in..
 

Ignoring files

If you want JSHint to skip some files you can list them in a file named .jshintignore. For example:

legacy.js
somelib/**
otherlib/*.js
 


--
You received this message because you are subscribed to a topic in the Google Groups "JSHint" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jshint/62N12QUhBCs/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to jshint+un...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
AG
----------------------------
Live Life KingSize

Anton Kovalyov

unread,
Apr 18, 2013, 11:12:29 PM4/18/13
to jsh...@googlegroups.com
You put it in your root directory (where you're running jshint command from).
Reply all
Reply to author
Forward
0 new messages