Skip to content

Commit 6d3b58e

Browse files
author
Alex
committed
JSHint Instructions and Xcode Full Install Options
Add instructions for installing JSHint Sublime Text Package Include location of Xcode installed developer tools: ls -al /Applications/Xcode.app/Contents/Developer/usr/bin/
1 parent ca61786 commit 6d3b58e

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ If you have any comments or suggestions, feel free to give me a shout [on Twitte
3131
- [Elasticsearch](#elasticsearch)
3232
- [Projects folder](#projects-folder)
3333
- [Apps](#apps)
34+
- [JSHint](#jshint)
3435

3536
## System update
3637

@@ -519,6 +520,10 @@ We also need to tell npm where to find the Xcode Command Line Tools, by running:
519520

520521
$ sudo xcode-select -switch /usr/bin
521522

523+
(If Xcode Command Line Tools were installed by Xcode, try instead:)
524+
525+
$ sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
526+
522527
Node modules are installed locally in the `node_modules` folder of each project by default, but there are at least two that are worth installing globally. Those are [CoffeeScript](http://coffeescript.org/) and [Grunt](http://gruntjs.com/):
523528

524529
$ npm install -g coffee-script
@@ -552,6 +557,18 @@ To uninstall a package:
552557

553558
$ npm uninstall <package>
554559

560+
##JSHint
561+
562+
JSHint is a JavaScript developer's best friend.
563+
564+
If the extra credit assignment to install Sublime Package Manager was completed, JSHint can be run as part of Sublime Text.
565+
566+
Install JSHint via npm (global install preferred)
567+
568+
$ npm install -g jshint
569+
570+
Follow additional instructions on the [JSHint Package Manager page](https://sublime.wbond.net/packages/JSHint) or [build it manually](https://github.com/jshint/jshint)
571+
555572
## Ruby and RVM
556573

557574
Like Python, [Ruby](http://www.ruby-lang.org/) is already installed on Unix systems. But we don't want to mess around with that installation. More importantly, we want to be able to use the latest version of Ruby.
@@ -836,3 +853,5 @@ Here is a quick list of some apps I use, and that you might find useful as well:
836853
- [Moom](http://manytricks.com/moom/): Don't waste time resizing and moving your windows. Moom makes this very easy. **($10)**
837854

838855

856+
857+

0 commit comments

Comments
 (0)