-
Notifications
You must be signed in to change notification settings - Fork 9
/
.golangci.yaml
46 lines (45 loc) · 935 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
issues:
exclude-use-default: false
exclude:
- "^don't use ALL_CAPS"
- "^ST1003: should not use ALL_CAPS"
- "^var-naming: don't use ALL_CAPS"
- "^G302: Expect file permissions to be 0600 or less"
- "^G304: Potential file inclusion via variable"
- "^G306: Expect WriteFile permissions to be 0600 or less"
- "^G301: Expect directory permissions to be 0750 or less"
linters:
enable-all: true
disable:
- cyclop
- depguard
- dupword
- dupl
- execinquery
- exhaustive
- exhaustruct
- exportloopref
- forbidigo
- forcetypeassert
- funlen
- gochecknoglobals
- goconst
- gocyclo
- godox
- gomnd
- gomoddirectives
- inamedparam
- interfacebloat
- ireturn
- lll
- mnd
- nestif
- nlreturn
- nilnil
- paralleltest
- tagalign
- tagliatelle
- testpackage
- varnamelen
- wrapcheck
- wsl