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:
parent
8a3e60b1b8
commit
e6953b53d9
|
@ -23,16 +23,16 @@ let g:ale_fixers = {
|
|||
let g:ale_fixers_aliases = {'vue': ['vue', 'javascript']}
|
||||
|
||||
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_cpp_clang_options = '-std=c++17 -Wall -Wpedantic'
|
||||
let g:ale_cpp_gcc_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_linters = {
|
||||
\ 'bash': ['bash-language-server', 'bashlint', "shellcheck"],
|
||||
\ 'dockerfile': ["hadolint"],
|
||||
\ 'zsh': ['bashlint', "shellcheck"],
|
||||
\ 'python': ['pyls', 'pylint', 'bandit'],
|
||||
\ 'cpp': ['clangd'],
|
||||
\ 'python': ['pyls', 'pylint', 'bandit', 'mypy'],
|
||||
\ 'go': ['gopls', 'gobuild'],
|
||||
\ 'rust': ['analyzer', 'rustc'],
|
||||
\ 'yaml': ['yamllint'],
|
||||
|
|
Loading…
Reference in New Issue
Block a user