mirror of https://github.com/dense-analysis/ale
Enable jshint to extract javascript from html
This commit is contained in:
parent
430bff7532
commit
dbf4f03607
|
@ -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