mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-13 08:28:57 +08:00
Enable jshint to extract javascript from html
This commit is contained in:
1 parent
430bff7532
commit
dbf4f03607
1 file changed
+1
-1
@@ -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 = ale_linters#javascript#jshint#GetExecutable(a:buffer)
|
||||||
let l:command .= ' --reporter unix'
|
let l:command .= ' --reporter unix --extract auto'
|
||||||
|
|
||||||
if !empty(l:jshint_config)
|
if !empty(l:jshint_config)
|
||||||
let l:command .= ' --config ' . fnameescape(l:jshint_config)
|
let l:command .= ' --config ' . fnameescape(l:jshint_config)
|
||||||
|
|||||||
Reference in new issue
Block a user