-
Notifications
You must be signed in to change notification settings - Fork 14
/
.golangci.yaml
54 lines (54 loc) · 1021 Bytes
/
.golangci.yaml
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
run:
concurrency: 4
timeout: 5m
tests: true
skip-dirs:
- vendor
- test/utils/k8simported
modules-download-mode: vendor
linters:
disable-all: true
enable:
- errcheck
- bodyclose
- exportloopref
- gosimple
- govet
- ineffassign
- misspell
- nolintlint
- nosprintfhostport
- staticcheck
- tenv
- typecheck
- unconvert
- unused
- wastedassign
- whitespace
- depguard
linters-settings:
misspell:
locale: US
ignore-words:
- NRO
- nro
- numaresource
- numa
- NUMA
depguard:
rules:
main:
list-mode: original
files:
- $all
- "!$test"
deny:
- pkg: "k8s.io/kubernetes"
desc: Importing k8s.io/kubernetes as library is not supported
test:
list-mode: lax
files:
- $test
deny:
- pkg: "k8s.io/kubernetes"
desc: Importing k8s.io/kubernetes as library is not supported