javascript: add instruction for installation of JSHint
This commit is contained in:
parent
7924a782a2
commit
806573b09b
|
@ -46,6 +46,11 @@ To use the formatting features, install =js-beautify=:
|
||||||
$ npm install -g js-beautify
|
$ npm install -g js-beautify
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
To activate error checking using flycheck install =JSHint=:
|
||||||
|
#+BEGIN_SRC sh
|
||||||
|
$ npm install -g jshint
|
||||||
|
#+END_SRC
|
||||||
|
|
||||||
* Configuration
|
* Configuration
|
||||||
|
|
||||||
To change how js2-mode indents code, set the variable =js2-basic-offset=, as such:
|
To change how js2-mode indents code, set the variable =js2-basic-offset=, as such:
|
||||||
|
|
Loading…
Reference in New Issue