Merge pull request #2040 from leamingrad/jshint_filename

Pass the filename of the current file into jshint
This commit is contained in:
w0rp
2018-10-31 11:21:13 +00:00
committed by GitHub
2 changed files with 15 additions and 1 deletions

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