1
0
mirror of https://git.decapod.one/brethil/dotfiles synced 2024-12-05 01:01:30 +01:00

vim: cleanup ALE linters and config

This commit is contained in:
bretello 2021-03-13 15:31:26 +01:00
parent 8a3e60b1b8
commit e6953b53d9

View File

@ -23,16 +23,16 @@ let g:ale_fixers = {
let g:ale_fixers_aliases = {'vue': ['vue', 'javascript']} let g:ale_fixers_aliases = {'vue': ['vue', 'javascript']}
let g:ale_python_bandit_options = "-c banditrc" let g:ale_python_bandit_options = "-c banditrc"
" let g:ale_python_pylint_options = "--rcfile pylintrc --disable=W0511" " if the rcfile does not exist, pylint will exit without linting
let g:ale_python_pylint_options = "--disable=W0511" let g:ale_python_pylint_options = "--disable=W0511"
let g:ale_cpp_clang_options = '-std=c++17 -Wall -Wpedantic' " let g:ale_cpp_clang_options = '-std=c++17 -Wall -Wpedantic'
let g:ale_cpp_gcc_options = '-std=c++17 -Wall -Wpedantic' " let g:ale_cpp_gcc_options = '-std=c++17 -Wall -Wpedantic'
let g:ale_linters = { let g:ale_linters = {
\ 'bash': ['bash-language-server', 'bashlint', "shellcheck"], \ 'bash': ['bash-language-server', 'bashlint', "shellcheck"],
\ 'dockerfile': ["hadolint"], \ 'dockerfile': ["hadolint"],
\ 'zsh': ['bashlint', "shellcheck"], \ 'zsh': ['bashlint', "shellcheck"],
\ 'python': ['pyls', 'pylint', 'bandit'], \ 'cpp': ['clangd'],
\ 'python': ['pyls', 'pylint', 'bandit', 'mypy'],
\ 'go': ['gopls', 'gobuild'], \ 'go': ['gopls', 'gobuild'],
\ 'rust': ['analyzer', 'rustc'], \ 'rust': ['analyzer', 'rustc'],
\ 'yaml': ['yamllint'], \ 'yaml': ['yamllint'],