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.
This commit is contained in:
Ray Zane 2017-09-24 13:57:18 -04:00
parent 2bd352370f
commit cb56cbb714
2 changed files with 5 additions and 5 deletions

View file

@ -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,
\}