-
Notifications
You must be signed in to change notification settings - Fork 19
/
.golangci.yml
57 lines (53 loc) · 1.02 KB
/
.golangci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
linters-settings:
goimports:
local-prefixes: go.infratographer.com/x
gofumpt:
extra-rules: true
linters:
enable:
# default linters
- errcheck
- gosimple
- govet
- ineffassign
- staticcheck
- typecheck
- unused
# additional linters
- bodyclose
- gocritic
- gocyclo
- goerr113
- gofmt
# - gofumpt
- goimports
- gomnd
- govet
- misspell
- noctx
- revive
- stylecheck
- whitespace
- wsl
# - bod
issues:
include:
- EXC0001
- EXC0002
- EXC0003
- EXC0004
- EXC0005
- EXC0006
- EXC0007
- EXC0008
- EXC0009
- EXC0010
- EXC0011
- EXC0012
- EXC0013
- EXC0014
- EXC0015
exclude:
# otelecho will be deprecated on August 21, 2024 unless an owner is found to maintain the package.
# https://github.com/open-telemetry/opentelemetry-go-contrib/issues/5550
- 'SA1019: "go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho" is deprecated.*'