javascript: add instruction for installation of JSHint

This commit is contained in:
Christoph Paulik 2015-09-11 08:44:43 +02:00 committed by syl20bnr
parent 7924a782a2
commit 806573b09b
1 changed files with 5 additions and 0 deletions

View File

@ -46,6 +46,11 @@ To use the formatting features, install =js-beautify=:
$ npm install -g js-beautify
#+END_SRC
To activate error checking using flycheck install =JSHint=:
#+BEGIN_SRC sh
$ npm install -g jshint
#+END_SRC
* Configuration
To change how js2-mode indents code, set the variable =js2-basic-offset=, as such: