2
0
mirror of https://github.com/webgefrickel/dotfiles synced 2024-11-15 12:12:58 +00:00

No global linters anymore

This commit is contained in:
Steffen Rademacker 2020-01-08 14:27:49 +01:00
parent def40283e1
commit b417451577
2 changed files with 6 additions and 15 deletions

View File

@ -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

View File

@ -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>