diff options
author | James Owen <james@cryptosense.com> | 2018-10-31 10:17:55 +0100 |
---|---|---|
committer | James Owen <james@cryptosense.com> | 2018-10-31 10:17:55 +0100 |
commit | f75848b32ca25aec1d5e6c0a5aa9c7b1e6c64539 (patch) | |
tree | 27d54f4eae53375967045627a6e323b1e6cb83a0 /ale_linters | |
parent | 86c035466becd57f9bca6ea8e704a3388936ac33 (diff) | |
download | ale-f75848b32ca25aec1d5e6c0a5aa9c7b1e6c64539.zip |
Pass the filename of the current file into jshint
Diffstat (limited to 'ale_linters')
-rw-r--r-- | ale_linters/javascript/jshint.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/javascript/jshint.vim b/ale_linters/javascript/jshint.vim index 83909fa4..cb7f66fc 100644 --- a/ale_linters/javascript/jshint.vim +++ b/ale_linters/javascript/jshint.vim @@ -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 |