diff --git a/vimrc b/vimrc index 41d3b67..0ec2b6b 100644 --- a/vimrc +++ b/vimrc @@ -296,15 +296,9 @@ let g:ale_javascript_eslint_options = '-c ~/.config/eslint/.eslintrc.js' let g:ale_fixers = {'javascript': ['eslint']} "let g:ale_javascript_prettier_options = '--single-quote ' -" override ALE's eslint fix function tose correct config file +" override ALE's eslint fix function to use correct config file function! ale#fixers#eslint#Fix(buffer) abort let l:executable = ale#handlers#eslint#GetExecutable(a:buffer) - let l:config = ale#handlers#eslint#FindConfig(a:buffer) - - if empty(l:config) - let l:config = '' - endif - return { \ 'command': ale#node#Executable(a:buffer, l:executable) \ . ' --config /home/ray/.config/eslint/.eslintrc.js'