2022-03-22 11:03:15 -04:00
|
|
|
run:
|
2022-08-17 07:50:43 -04:00
|
|
|
timeout: 10m
|
2022-03-22 11:03:15 -04:00
|
|
|
build-tags:
|
|
|
|
- integration
|
2022-09-12 12:55:55 -04:00
|
|
|
modules-download-mode: readonly
|
2023-02-14 12:46:48 -05:00
|
|
|
skip-dirs:
|
|
|
|
- 3rdparty/node-maintenance-operator
|
2022-08-17 07:50:43 -04:00
|
|
|
|
|
|
|
output:
|
|
|
|
format: tab
|
|
|
|
sort-results: true
|
2022-03-22 11:03:15 -04:00
|
|
|
|
|
|
|
linters:
|
|
|
|
enable:
|
|
|
|
# Default linters
|
|
|
|
- errcheck
|
|
|
|
- gosimple
|
|
|
|
- govet
|
|
|
|
- ineffassign
|
|
|
|
- staticcheck
|
|
|
|
- typecheck
|
|
|
|
- unused
|
|
|
|
# Additional linters
|
|
|
|
- bodyclose
|
|
|
|
- errname
|
|
|
|
- exportloopref
|
|
|
|
- godot
|
|
|
|
- gofmt
|
|
|
|
- gofumpt
|
|
|
|
- misspell
|
|
|
|
- noctx
|
2022-10-05 09:02:46 -04:00
|
|
|
- revive
|
2022-03-22 11:03:15 -04:00
|
|
|
- tenv
|
|
|
|
- unconvert
|
|
|
|
- unparam
|
|
|
|
|
|
|
|
issues:
|
|
|
|
max-issues-per-linter: 0
|
|
|
|
max-same-issues: 20
|
2022-11-09 09:57:54 -05:00
|
|
|
include:
|
|
|
|
- EXC0012
|
|
|
|
- EXC0014
|
2022-03-22 11:03:15 -04:00
|
|
|
|
|
|
|
linters-settings:
|
|
|
|
errcheck:
|
|
|
|
# List of functions to exclude from checking, where each entry is a single function to exclude.
|
|
|
|
# See https://github.com/kisielk/errcheck#excluding-functions for details.
|
|
|
|
exclude-functions:
|
|
|
|
- (*go.uber.org/zap.Logger).Sync
|
|
|
|
- (*google.golang.org/grpc.Server).Serve
|