-
Notifications
You must be signed in to change notification settings - Fork 15
Search for .jshintrc relative to file being linted #12
Comments
Thanks for reporting this I'll be looking to do that next! |
I was having an issue where I would open a subfolder of my actual project in Atom and the plugin wouldn't find the jshintrc file because it's a level or two above the project root. Implementing what jshint docs describe would fix this problem as well. So +1 from me, too. |
I'm hoping to get around to doing this today 👍 |
+1 this would be great. |
Resolve issue #12: .jshintrc is found all the way up the file tree
Okay, so this has been part done thanks to the work of @sharky3112 :) The only part remaining is basing the search for the config file relative to the file you're editing. |
I created a module to provide this functionality to gulp linter plugins, could be of some use here https://www.npmjs.org/package/rcloader |
I'm in need of this one too! It would be quite useful to have different JSHint rules for tests so having a Any word on the progress of this? ❤️ |
This is now resolved and live since version 1.3.0 |
It would be great to have an option to search for the .jshintrc the way the jshint cli works (working up the directory tree from the file being linted until a .jshintrc file is found).
http://jshint.com/docs/
The text was updated successfully, but these errors were encountered: