Skip to content
Browse files

Added config parameter to make jshint respect settings in .jshintrc

  • Loading branch information...
1 parent e41aa66 commit ce20a618adf74079cd80c0e695ea51b3c0e1b51b @xavi- xavi- committed Jan 15, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 JSHint.sublime-build
View
4 JSHint.sublime-build
@@ -1,7 +1,7 @@
{
"selector": "source.js",
- "cmd": ["jshint", "$file", "--reporter", "$packages/JSHint/reporter.js"],
+ "cmd": ["jshint", "$file", "--config", "$packages/JSHint/.jshintrc", "--reporter", "$packages/JSHint/reporter.js"],
"file_regex": "file:(.+)\\]",
"line_regex": "(\\d+),(\\d+)",
@@ -11,6 +11,6 @@
},
"windows": {
- "cmd": ["jshint.cmd", "$file", "--reporter", "$packages\\JSHint\\reporter.js"]
+ "cmd": ["jshint.cmd", "$file", "--config", "$packages\\JSHint\\.jshintrc", "--reporter", "$packages\\JSHint\\reporter.js"]
}
}

0 comments on commit ce20a61

Please sign in to comment.
Something went wrong with that request. Please try again.