summaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
authorRay Zane <ray@promptworks.com>2017-09-24 13:57:18 -0400
committerRay Zane <ray@promptworks.com>2017-09-24 13:57:18 -0400
commitcb56cbb714b6b600d9b38a8b7acba0704544a44b (patch)
tree410be228c4f3f16f3f933518411a135a618b92c2 /autoload
parent2bd352370f0df4f260e3e6b5ab926f700acc32c5 (diff)
downloadale-cb56cbb714b6b600d9b38a8b7acba0704544a44b.zip
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.
Diffstat (limited to 'autoload')
-rw-r--r--autoload/ale/fixers/eslint.vim2
1 files changed, 1 insertions, 1 deletions
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,
\}