nvim: Run golangci-lint on the whole package
This commit is contained in:
parent
41b8d86373
commit
65400637e5
1 changed files with 3 additions and 0 deletions
|
|
@ -141,7 +141,10 @@ let g:ale_sign_error = '!'
|
|||
let g:ale_sign_warning = '?'
|
||||
let g:ale_echo_msg_format = '[%linter%] %code: %%s'
|
||||
let g:ale_fix_on_save = 1
|
||||
" Clear the default --enable-all because I disagree with too many linters.
|
||||
let g:ale_go_golangci_lint_options=''
|
||||
" Lint the whole package to reduce noise in dead code linters.
|
||||
let g:ale_go_golangci_lint_package=1
|
||||
let g:ale_linters_explicit = 1
|
||||
let g:ale_linters = {
|
||||
\ 'arduino': [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue