From cb56cbb714b6b600d9b38a8b7acba0704544a44b Mon Sep 17 00:00:00 2001 From: Ray Zane Date: Sun, 24 Sep 2017 13:57:18 -0400 Subject: There seems to be a bug in eslint that causes the `--config` option to not detect node_modules correctly. The `-c` option, however, works fine. --- autoload/ale/fixers/eslint.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'autoload') diff --git a/autoload/ale/fixers/eslint.vim b/autoload/ale/fixers/eslint.vim index eb38a71b..ad9e9e06 100644 --- a/autoload/ale/fixers/eslint.vim +++ b/autoload/ale/fixers/eslint.vim @@ -11,7 +11,7 @@ function! ale#fixers#eslint#Fix(buffer) abort return { \ 'command': ale#node#Executable(a:buffer, l:executable) - \ . ' --config ' . ale#Escape(l:config) + \ . ' -c ' . ale#Escape(l:config) \ . ' --fix %t', \ 'read_temporary_file': 1, \} -- cgit v1.2.3