Merge pull request #481 from jonsmithers/jshint-with-html

Make jshint work with html
This commit is contained in:
w0rp 2017-04-17 08:49:16 +01:00 committed by GitHub
commit dc72daaf1e
1 changed files with 1 additions and 1 deletions

View File

@ -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)