Skip to content

Instantly share code, notes, and snippets.

@adaptivedev
Created March 24, 2014 14:52
Show Gist options
  • Save adaptivedev/9741643 to your computer and use it in GitHub Desktop.
Save adaptivedev/9741643 to your computer and use it in GitHub Desktop.
errors for JSHint using Sublime on mac
[Errno 2] No such file or directory
[cmd: [u'jshint', u'/Users/rover/Documents/Dev/proj/testProj/server/node-server/test/addTurnyUser.js']]
[dir: /Users/rover/Documents/Dev/proj/testProj/server/node-server/test]
[path: /usr/bin/npm:/usr/local/share/npm/bin:/usr/local/bin:/opt/local/bin]
[Finished]
{
"selector": "source.js",
"cmd": ["jshint", "$file"],
"file_regex": "JSHint: (.+)\\]",
"line_regex": "(\\d+),(\\d+): (.*)$",
"osx": {
"path": "/usr/bin/npm:/usr/local/share/npm/bin:/usr/local/bin:/opt/local/bin"
},
"windows": {
"cmd": ["jshint.cmd", "$file", "--reporter", "$packages\\JSHint\\reporter.js"]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment