Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Adds Path to hint

Adds ${packages}/JSHint/node_modules/jshint/bin to the path for linux for permission issues.

Closes #18.
  • Loading branch information...
commit d6f3537364fe918af0bb2c8fac405974b8ff8c58 1 parent 508f4ca
Jamie Hoover ⚔ authored
Showing with 4 additions and 10 deletions.
  1. +4 −10 JSHint.sublime-build
View
14 JSHint.sublime-build
@@ -1,19 +1,13 @@
{
+ "selector": "source.js",
+
+ "path": "/usr/local/bin:${packages}/JSHint/node_modules/jshint/bin",
+
"cmd": ["${packages}/JSHint/node_modules/jshint/bin/hint", "$file", "--reporter", "${packages}/JSHint/reporter.js"],
"file_regex": "file:\\s(.+)\\]",
"line_regex": "(\\d+),(\\d+)",
- "selector": "source.js",
-
- "osx": {
- "path": "/usr/local/bin"
- },
-
- "linux": {
- "path": "/usr/local/bin"
- },
-
"windows": {
"cmd": ["jshint.cmd", "$file"]
}
Please sign in to comment.
Something went wrong with that request. Please try again.