Permalink
Browse files

Removes path from Linux

Limits hard-coded path to jshint to Mac OS X only, since this causes issues in other Linux environments, such as ArchLinux.

Closes #21.
  • Loading branch information...
Jamie Hoover ⚔
Jamie Hoover ⚔ committed Apr 13, 2012
1 parent 26c0f7d commit 0c1c87728ccac9abd0209f91f53a3e9ec1f1c169
Showing with 5 additions and 3 deletions.
  1. +4 −2 JSHint.sublime-build
  2. +1 −1 package.json
View
@@ -1,13 +1,15 @@
{
"selector": "source.js",
- "path": "/usr/local/bin",
-
"cmd": ["jshint", "$file", "--reporter", "${packages}/JSHint/reporter.js"],
"file_regex": "file:\\s(.+)\\]",
"line_regex": "(\\d+),(\\d+)",
+ "osx": {
+ "path": "/usr/local/bin"
+ },
+
"windows": {
"cmd": ["jshint.cmd", "$file", "--reporter", "${packages}/JSHint/reporter.js"]
}
View
@@ -1,6 +1,6 @@
{
"name": "sublime-jshint",
- "version": "0.3.3",
+ "version": "0.3.4",
"description": "the best JavaScript syntax checker for the best text editor",
"keywords": ["sublime", "text", "2", "jshint"],

0 comments on commit 0c1c877

Please sign in to comment.