summaryrefslogtreecommitdiff
path: root/ale_linters/javascript/jshint.vim
diff options
context:
space:
mode:
authorJon Smithers <mail@jonsmithers.link>2017-04-17 00:08:13 -0400
committerJon Smithers <mail@jonsmithers.link>2017-04-17 00:11:39 -0400
commitdbf4f036076157ef8384a5889c20a019941c8749 (patch)
treeddb67eed56246a789a6aa1c54c72071f16b56c28 /ale_linters/javascript/jshint.vim
parent430bff7532c13f7eb0920dca0bbc796c45912f28 (diff)
downloadale-dbf4f036076157ef8384a5889c20a019941c8749.zip
Enable jshint to extract javascript from html
Diffstat (limited to 'ale_linters/javascript/jshint.vim')
-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)