mirror of
https://github.com/dense-analysis/ale
synced 2024-12-23 06:33:11 +00:00
Pass the filename of the current file into jshint
This commit is contained in:
parent
86c035466b
commit
f75848b32c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user