| 123456789101112131415161718192021222324252627282930 |
- # https://golangci-lint.run/docs/configuration/file/
-
- version = '2'
-
- [run]
- concurrency = 4
- tests = true
-
- # [linters]
- # enable-all = true
- # disable = [
- # "containedctx",
- # "exhaustivestruct",
- # "exhaustruct",
- # "gas",
- # "gochecknoglobals",
- # "goerr113",
- # "ireturn",
- # "thelper",
- # "varnamelen",
- # ]
-
- # Benchmark and tool code: unchecked Close/Write/Fprintf is fine.
- [[linters.exclusions.rules]]
- path = 'benchmarks/'
- linters = ['errcheck', 'ineffassign']
-
- [[linters.exclusions.rules]]
- path = '_bench_test\.go$'
- linters = ['errcheck', 'ineffassign']
|