Pass the filename of the current file into jshint

This commit is contained in:
James Owen 2018-10-31 10:17:55 +01:00
parent 86c035466b
commit f75848b32c

View File

@ -18,7 +18,7 @@ function! ale_linters#javascript#jshint#GetCommand(buffer) abort
let l:command .= ' --config ' . ale#Escape(l:jshint_config)
endif
let l:command .= ' -'
let l:command .= ' --filename %s -'
return l:command
endfunction