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:
parent
2bd352370f
commit
cb56cbb714
2 changed files with 5 additions and 5 deletions
|
@ -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,
|
||||
\}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue