From 842107925b3507cbb4b4a89c582517defb762e4c Mon Sep 17 00:00:00 2001 From: ManjaroOne666 Date: Sun, 24 Sep 2017 17:07:15 +0100 Subject: [PATCH] removed hardcoded eslintrc configuratin location --- vimrc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/vimrc b/vimrc index 896b548..8a6c05e 100644 --- a/vimrc +++ b/vimrc @@ -295,12 +295,12 @@ let g:ale_sign_column_always = 1 let g:ale_linters = {'scss': ['stylelint'], 'javascript': ['eslint'], 'php':['php'], 'html':['htmlhint']} let g:ale_html_htmlhint_options = '-c ~/.htmlhintrc --format=unix' -let g:ale_javascript_eslint_options = '-c ~/.config/eslint/.eslintrc.js' +" let g:ale_javascript_eslint_options = '-c ~/.config/eslint/.eslintrc.js' let g:ale_fixers = {'javascript': ['eslint']} -function! ale#handlers#eslint#FindConfig(buffer) - return '/home/ray/.config/eslint/.eslintrc.js' -endfunction +" function! ale#handlers#eslint#FindConfig(buffer) +" return '/home/ray/.config/eslint/.eslintrc.js' +" endfunction