mirror of
https://github.com/dense-analysis/ale
synced 2025-02-19 22:06:49 +00:00
Fix loading of JSHint configuration files.
This commit is contained in:
parent
0466ae942c
commit
36acde533f
@ -19,8 +19,8 @@ function! ale_linters#javascript#jshint#GetCommand(buffer)
|
|||||||
|
|
||||||
let command = 'jshint --reporter unix'
|
let command = 'jshint --reporter unix'
|
||||||
|
|
||||||
if jshint_config
|
if !empty(jshint_config)
|
||||||
let command .= ' --config ' . shellescape(jshint_config)
|
let command .= ' --config ' . fnameescape(jshint_config)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
let command .= ' -'
|
let command .= ' -'
|
||||||
|
Loading…
Reference in New Issue
Block a user