-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.golangci.yml
More file actions
37 lines (36 loc) · 783 Bytes
/
.golangci.yml
File metadata and controls
37 lines (36 loc) · 783 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
---
linters:
enable-all: true
disable:
- exportloopref # WARN The linter 'exportloopref' is deprecated (since v1.60.2) due to: Since Go1.22 (loopvar) this linter is no longer relevant. Replaced by copyloopvar.
- err113 # WARN [lintersdb] The name "goerr113" is deprecated. The linter has been renamed to: err113
- tagliatelle
- wsl
- nlreturn
- lll
- godot
- varnamelen
- ireturn
- depguard
- tagalign
# TODO
- dupl
- wrapcheck
- testpackage
- godox
- nestif
- funlen
- gocognit
- gocyclo
- exhaustruct
- dupword
- musttag
- forbidigo
- revive # tentative
- unparam # tentative
- gofumpt
- goimports
- gocritic
linters-settings:
cyclop:
max-complexity: 12