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
|
2023-02-03 05:05:42 -05:00
|
|
|
- e2e
|
2022-09-12 12:55:55 -04:00
|
|
|
modules-download-mode: readonly
|
2022-08-17 07:50:43 -04:00
|
|
|
|
|
|
|
output:
|
2024-05-10 07:53:01 -04:00
|
|
|
formats:
|
|
|
|
- format: tab
|
|
|
|
path: stdout
|
2022-08-17 07:50:43 -04:00
|
|
|
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
|
2024-05-10 07:53:01 -04:00
|
|
|
exclude-dirs:
|
|
|
|
- 3rdparty/node-maintenance-operator
|
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
|