No global linters anymore

main
Steffen Rademacker 4 years ago
parent def40283e1
commit b417451577

@ -5,19 +5,10 @@ npm install -g npm@latest
npm update -g npm update -g
npm install -g diff-so-fancy npm install -g diff-so-fancy
npm install -g eslint
# Do we need this config globally?!
npm install -g eslint-config-xo-space
npm install -g fkill-cli npm install -g fkill-cli
npm install -g htmlhint
npm install -g jsonlint
npm install -g neovim npm install -g neovim
npm install -g npm-check-updates npm install -g npm-check-updates
npm install -g prettier npm install -g prettier
npm install -g pure-prompt npm install -g pure-prompt
# REPLACE with stylelint
npm install -g sass-lint
npm install -g trash-cli npm install -g trash-cli
npm install -g yarn npm install -g yarn

@ -32,18 +32,20 @@ xmap <C-j> <Plug>(neosnippet_expand_target)
" ale " ale
let g:ale_lint_on_save=1 let g:ale_lint_on_save=1
let g:ale_lint_on_text_changed='never' let g:ale_lint_on_text_changed=0
let g:ale_lint_on_insert_leave=0 let g:ale_lint_on_insert_leave=0
let g:ale_lint_on_enter=1 let g:ale_lint_on_enter=1
let g:ale_linters_explicit=1
let g:ale_fix_on_save=0
let g:ale_linters = { let g:ale_linters = {
\ 'css': [], \ 'css': ['stylelint'],
\ 'html': ['htmlhint'], \ 'html': ['htmllint'],
\ 'javascript': ['eslint'], \ 'javascript': ['eslint'],
\ 'javascriptreact': ['eslint'], \ 'javascriptreact': ['eslint'],
\ 'json': ['jsonlint'], \ 'json': ['jsonlint'],
\ 'jsx': ['eslint'], \ 'jsx': ['eslint'],
\ 'php': ['php'], \ 'php': ['php'],
\ 'scss': ['sasslint'], \ 'scss': ['stylelint'],
\ 'typescript': ['tslint'], \ 'typescript': ['tslint'],
\} \}
let g:ale_fixers = { let g:ale_fixers = {
@ -57,8 +59,6 @@ let g:ale_fixers = {
\ 'typescript': ['prettier'], \ 'typescript': ['prettier'],
\ 'yaml': ['prettier'], \ 'yaml': ['prettier'],
\} \}
let g:ale_linters_explicit = 1
let g:ale_fix_on_save = 0
" fzf " fzf
nnoremap <silent> <space>, :Files<cr> nnoremap <silent> <space>, :Files<cr>

Loading…
Cancel
Save