mirror of
https://git.decapod.one/brethil/dotfiles
synced 2024-11-22 11:31:30 +01:00
vim: cleanup ALE linters and config
This commit is contained in:
parent
4f34f5957f
commit
a8f17dfaa3
|
@ -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'],
|
||||||
|
|
Loading…
Reference in New Issue
Block a user