You can clone with
HTTPS or Subversion.
I don't know any of the technicals, but I can provide you with the error log.
Can't load reporter file: /Users/darylr/Library/Application Support/Sublime Text 3/Packages/JSHint/reporter.js
[Finished in 0.1s with exit code 1]
[cmd: ['jshint', '/Users/darylr/src/naiad.client.js/src/app/controllers/upsellGoldController.js', '--reporter', '/Users/darylr/Library/Application Support/Sublime Text 3/Packages/JSHint/reporter.js']]
I must confess that I haven't had the time to develop using version 3 beta yet. I will attempt a look see soon and view how the plugin API has changed.
No worries. Take your time. I just wanted to make sure it was tracking. Also if there's anything I can do to help, let me know!
I've found a workaround... tested on Windows now, when at home I'll try that on mac and add another comment...
C:>cd "%APPDATA%/Sublime Text 3/Installed Packages"
C:>cp JSHint.sublime-package "../Packages/JSHint.sublime-package.zip"
Then unzip the contents somewhere; create a folder called JSHint (inside Packages) and move the files JSHint.py and reporter.js inside it.
CTRL + J working!
CTRL + J
Hey, I just did the same for mac 10.8.3 and it's working... here are the steps:
⌘ + ⇧ + P
Install Package > JSHint
$ cd ~/Library/Application Support/Sublime Text 3/Packages
$ mkdir JSHint
$ cd JSHint
$ cp ../../Installed\ Packages/JSHint.sublime-package .
$ unzip JSHint.sublime-package
⌃ + J
Note: If you need JSHint on HTML files (script tags inside a file) I've written JSHint-Inline
Running Sublime 3 beta as of 6/21 on MacOS, and your instructions worked for JSHint Inline. Thank you and great job. JSHint is new to me, not sure if it can read included .js files, but that is something I will research offline.
Thanks @bitbonsai, your workaround works perfect!
For some reason this plugin is not showing up on the packages list... I've started following @bitbonsai's workaround but didn't worked because there's no longer JSHint.sublime-package, only JSHint.sublime-build which is not the same thing.
Now that Package Control supports ST3, I'll be taking a look at upgrading the necessary bits. Stay tuned.
Sweet. LMK if you need some help.
Is the support of ST3 happening? 2 Months later and still not showing on the package control install list.
Yes. I will be having a go at it this weekend.
Thanks. I'll keep an eye out.
Huh, keep it simple!
in error output we can see what plugin looking this path:
Guess what I mean?
Right!!! We'll create this path to him:
# Going to Packages dir,
# install plugin via git
cd ~/Library/Application\ Support/Sublime\ Text\ 3/Packages
git clone https://github.com/uipoet/sublime-jshint.git JSHint
It's very simple! Nothing else to unzip! Voila!
Yeah, that seem to work! Thanks @asakasinsky and mother Russia
@rafaelrinaldi , thanks for the kind words (-:
Update JSHint to install on SublimeText3
Pull request for current sublime text 2 JSHint Repo: https://github.com/uipoet/sublime-jshint
@uipoet -- looks like the package works out of the box on ST3. Submitted the appropriate pull request to include you in the package list. Feel free to close/comment on it here:
tl,dr; hopefully you can "Package Install: JSHint" in ST3 once they merge this in.
@tomfuertes Thanks for being proactive on this.
i still got an error after manually creating the package and installing jshint as a node module globally fixed it
Installing jshint as a global node module is a requirement, as stated in the readme.md
@uipoet perhaps a more informative message for the error would be a good idea? i'm used to installing sublime packages straight from sublime
@ionutzp that's a good suggestion. My python knowledge is rusty, though I assume this should be possible.
I don't control that error message as it emits from node itself. It's not yet caught inside Sublime. If I can catch it, then the message makes sense.