mirror of https://github.com/dense-analysis/ale
Merge pull request #481 from jonsmithers/jshint-with-html
Make jshint work with html
This commit is contained in:
commit
dc72daaf1e
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue