golangci-lint bundles many Go linters (https://golangci-lint.run/docs/linters/). For now, we are going with its default set of linters, which includes staticcheck, but with the errcheck linter explicitly excluded because it generates a lot of lints; I plan to address those and add errcheck in a subsequent contribution.
8 lines
134 B
YAML
8 lines
134 B
YAML
version: "2"
|
|
linters:
|
|
disable:
|
|
- errcheck
|
|
issues:
|
|
max-issues-per-linter: 0 # no limit
|
|
max-same-issues: 0 # no limit
|