-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.golangci.yaml
More file actions
41 lines (38 loc) · 887 Bytes
/
.golangci.yaml
File metadata and controls
41 lines (38 loc) · 887 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
linters:
enable-all: true
disable:
- cyclop
- depguard
- execinquery
- exhaustruct
- funlen
- gochecknoglobals
- gomnd
- lll
- mnd
- paralleltest
- tparallel
- varnamelen
run:
timeout: 30s
linters-settings:
ireturn:
# List of interfaces to allow.
# Lists of the keywords and regular expressions matched to interface or package names can be used.
# `allow` and `reject` settings cannot be used at the same time.
#
# Keywords:
# - `empty` for `interface{}`
# - `error` for errors
# - `stdlib` for standard library
# - `anon` for anonymous interfaces
# - `generic` for generic interfaces added in go 1.18
#
# Default: [anon, error, empty, stdlib]
allow:
- generic
- error
issues:
# Configure how issues are reported.
max-issues-per-linter: 0
max-same-issues: 0