summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw0rp <w0rp@users.noreply.github.com>2017-04-17 08:49:16 +0100
committerGitHub <noreply@github.com>2017-04-17 08:49:15 +0100
commitdc72daaf1e154cb5b4a2d63bfdd5bbe01ad97fe0 (patch)
treeddb67eed56246a789a6aa1c54c72071f16b56c28
parent430bff7532c13f7eb0920dca0bbc796c45912f28 (diff)
parentdbf4f036076157ef8384a5889c20a019941c8749 (diff)
downloadale-dc72daaf1e154cb5b4a2d63bfdd5bbe01ad97fe0.zip
Merge pull request #481 from jonsmithers/jshint-with-html
Make jshint work with html
-rw-r--r--ale_linters/javascript/jshint.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/javascript/jshint.vim b/ale_linters/javascript/jshint.vim
index 24c3875c..506b26da 100644
--- a/ale_linters/javascript/jshint.vim
+++ b/ale_linters/javascript/jshint.vim
@@ -28,7 +28,7 @@ function! ale_linters#javascript#jshint#GetCommand(buffer) abort
\)
let l:command = ale_linters#javascript#jshint#GetExecutable(a:buffer)
- let l:command .= ' --reporter unix'
+ let l:command .= ' --reporter unix --extract auto'
if !empty(l:jshint_config)
let l:command .= ' --config ' . fnameescape(l:jshint_config)