From 806573b09b3d4a0762c25e73dc3c29d2414bc9c2 Mon Sep 17 00:00:00 2001 From: Christoph Paulik Date: Fri, 11 Sep 2015 08:44:43 +0200 Subject: [PATCH] javascript: add instruction for installation of JSHint --- layers/+lang/javascript/README.org | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/layers/+lang/javascript/README.org b/layers/+lang/javascript/README.org index a6010c976..cf5fc49c7 100644 --- a/layers/+lang/javascript/README.org +++ b/layers/+lang/javascript/README.org @@ -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: