Install node.js and npm

Thanks to this great post by Florian Kubis, this was quicly taken care of

You need XCode and macports installed


1
2
3
4
5
6
7
8
9
10
# Install Node
sudo port install nodejs
# Check it works with
node -v
# Allow your user to write to /opt/local
sudo chmod -R g+w /opt/local/
# Install NPM
curl http://npmjs.org/install.sh | sh
# Check it works
npm -v

Install JS Hint


1
2
# Install JS Hiint using NPM
npm install -g jshint

Adding JS Hint to Sublime

This is detailed on JS Hint Git Hub page and goes like this

  • Launch Sublime
  • Launch the Package Control > Install Package
  • Select JS Hint

Run JS Hint on a JS File

  • With an opened JS file in sublime, press Ctrl + J
Filed under: Development

Tagged with: , , , ,

Liked this page?

Tweet it

Subscribe to the RSS feed or sign up for the newsletter now.

Posts related to Install JS Lint in Sublime Text 2 on OS X

Name (required)

Email (required)

Website

Leave a Reply

  • About Me


    photo of Samantha Halfon Samantha Halfon
    Software Engineer
    blueKiwi software
    Paris, France
    I enjoy playing with my computer(s), listening to Bob Dylan (and related artists) and watching movies (especially if they were directed by Martin Scorsese or John Cassavetes). Sometimes, I play a little guitar... If not doing any of the above, I am either riding a small red bike around Paris, or, making videos. About my videomaking please check out World Wide Angle and its blog.