mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-11 07:39:14 +08:00
Fix 4586 - Make golangci-lint lint package on by default. (#4730)
Checking whole packages instead of individual files is more sensible default for golang projects. Without this we get many cryptic `typecheck` errors in ALE that do not show when running in terminal or CI.
This commit is contained in:
1 parent
8d199d8c10
commit
24a937e04f
2 files changed
+10
-13
No files matched your search
@@ -3,7 +3,7 @@
|
||||
|
||||
call ale#Set('go_golangci_lint_options', '')
|
||||
call ale#Set('go_golangci_lint_executable', 'golangci-lint')
|
||||
call ale#Set('go_golangci_lint_package', 0)
|
||||
call ale#Set('go_golangci_lint_package', 1)
|
||||
|
||||
function! ale_linters#go#golangci_lint#GetCommand(buffer) abort
|
||||
let l:filename = expand('#' . a:buffer . ':t')
|
||||
|
||||
Reference in new issue
Block a user