Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Support Sublime Text 3 #46

sorahn opened this Issue · 24 comments

10 participants

Daryl Roberts Jamie Hoover ⚔ Mauricio Wolff bfleming Sebastián Moreno Rafael Rinaldi Josh Williams Vasily Asakasinsky Tom Fuertes Ionut Popa
Daryl Roberts

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']]
[dir: /Users/darylr/src/naiad.client.js/src/app/controllers]
[path: /usr/bin:/bin:/usr/sbin:/sbin]
Jamie Hoover ⚔

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.

Daryl Roberts

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!

Mauricio Wolff

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/"

Then unzip the contents somewhere; create a folder called JSHint (inside Packages) and move the files and reporter.js inside it.

CTRL + J working!

Mauricio Wolff

Hey, I just did the same for mac 10.8.3 and it's working... here are the steps:

  1. Installed's Package manager as it's written on his page
  2. ⌘ + ⇧ + P and selected Install Package > JSHint
  3. $ cd ~/Library/Application Support/Sublime Text 3/Packages
  4. $ mkdir JSHint
  5. $ cd JSHint
  6. $ cp ../../Installed\ Packages/JSHint.sublime-package .
  7. $ unzip JSHint.sublime-package
  8. I deleted all files but and reporter.js
  9. That's it! ⌃ + J now is working on Sublime 3 for Mac as well (Build 3021)!

Sublime Text 3 Console

Note: If you need JSHint on HTML files (script tags inside a file) I've written JSHint-Inline

Mauricio Wolff bitbonsai closed this

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 again.

Sebastián Moreno

Thanks @bitbonsai, your workaround works perfect!

Rafael Rinaldi

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.

Jamie Hoover ⚔

Now that Package Control supports ST3, I'll be taking a look at upgrading the necessary bits. Stay tuned.

Rafael Rinaldi

Sweet. LMK if you need some help.

Josh Williams

Is the support of ST3 happening? 2 Months later and still not showing on the package control install list.

Jamie Hoover ⚔

Yes. I will be having a go at it this weekend.

Josh Williams

Thanks. I'll keep an eye out.

Vasily Asakasinsky

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 JSHint

It's very simple! Nothing else to unzip! Voila!

Rafael Rinaldi

Yeah, that seem to work! Thanks @asakasinsky and mother Russia :smiley:

Vasily Asakasinsky

@rafaelrinaldi , thanks for the kind words (-:

Tom Fuertes tomfuertes referenced this issue from a commit in tomfuertes/package_control_channel
Tom Fuertes tomfuertes Update JSHint to install on SublimeText3
Pull request for current sublime text 2 JSHint Repo:

Refs uipoet/sublime-jshint#46
Tom Fuertes tomfuertes referenced this issue in wbond/package_control_channel

Update JSHint to install on SublimeText3 #2277

Tom Fuertes

@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.

Jamie Hoover ⚔

@tomfuertes Thanks for being proactive on this.

Ionut Popa

i still got an error after manually creating the package and installing jshint as a node module globally fixed it

Jamie Hoover ⚔

Installing jshint as a global node module is a requirement, as stated in the

Ionut Popa

@uipoet perhaps a more informative message for the error would be a good idea? i'm used to installing sublime packages straight from sublime

Jamie Hoover ⚔

@ionutzp that's a good suggestion. My python knowledge is rusty, though I assume this should be possible.

Ionut Popa
Jamie Hoover ⚔

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.

Tom Fuertes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.