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 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 htmlhint
npm install -g jsonlint
npm install -g neovim
npm install -g npm-check-updates
npm install -g prettier
npm install -g pure-prompt
# REPLACE with stylelint
npm install -g sass-lint
npm install -g trash-cli
npm install -g yarn

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

Loading…
Cancel
Save