forked from apptainer/singularity
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.golangci.yml
More file actions
44 lines (39 loc) · 714 Bytes
/
.golangci.yml
File metadata and controls
44 lines (39 loc) · 714 Bytes
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
run:
timeout: 3m
linters:
disable-all: true
enable-all: false
enable:
- deadcode
- gofmt
- goimports
- golint
- gosimple
- govet
- ineffassign
- maligned
- misspell
- nakedret
# we would like to add these
# - dupl
# - staticcheck
linters-settings:
gofmt:
simplify: true
govet:
# we would like to enable this eventually
check-shadowing: false
maligned:
suggest-new: true
misspell:
locale: US
issues:
max-per-linter: 0
max-same-issues: 0
exclude-rules:
- path: internal/pkg/util/fs/overlay/
linters:
- misspell
- path: internal/pkg/util/user/cgo_lookup_unix.go
linters:
- deadcode