removed hardcoded eslintrc configuratin location
This commit is contained in:
parent
6a16760fdd
commit
842107925b
8
vimrc
8
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_linters = {'scss': ['stylelint'], 'javascript': ['eslint'], 'php':['php'], 'html':['htmlhint']}
|
||||||
let g:ale_html_htmlhint_options = '-c ~/.htmlhintrc --format=unix'
|
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']}
|
let g:ale_fixers = {'javascript': ['eslint']}
|
||||||
|
|
||||||
function! ale#handlers#eslint#FindConfig(buffer)
|
" function! ale#handlers#eslint#FindConfig(buffer)
|
||||||
return '/home/ray/.config/eslint/.eslintrc.js'
|
" return '/home/ray/.config/eslint/.eslintrc.js'
|
||||||
endfunction
|
" endfunction
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue