-
Notifications
You must be signed in to change notification settings - Fork 59
/
.golangci.yml
51 lines (49 loc) · 917 Bytes
/
.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
issues:
exclude-rules:
- linters: [gosimple]
path: values/drop_test.go # see the note in the file
text: "S1005:"
# go generate introduces these
- path: expressions/scanner.go
linters: [deadcode, unused, varcheck, revive, stylecheck, gocritic, unconvert, gofumpt]
linters:
enable-all: true
disable:
- depguard
- exhaustruct
- varnamelen
- godox
- wsl
- wrapcheck
- gomnd
- gochecknoglobals
- exhaustive
- testpackage
- ireturn
- godot
- mnd
- nonamedreturns
- funlen
- gci
- nlreturn
- inamedparam
- lll
- paralleltest
- gocognit
- goconst
- cyclop
- dupword
- whitespace
- nolintlint
- nestif
- forcetypeassert
- interfacebloat
- revive
- gocyclo
- errname
- gosmopolitan
- maintidx
# Todo: re-add
- err113
- errorlint
fix: true