-
Notifications
You must be signed in to change notification settings - Fork 4
/
.golangci.yml
58 lines (55 loc) · 912 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
52
53
54
55
56
57
58
---
run:
timeout: 6m
allow-parallel-runners: true
output:
format: colored-line-number
print-issued-lines: true
print-linter-name: true
uniq-by-line: false
linter-settings:
lll:
line-length: 220
gosec:
includes:
- G401
- G306
- G101
excludes:
- G204
config:
G306: "0600"
G101:
pattern: "(?i)example"
ignore_entropy: false
entropy_threshold: "80.0"
per_char_threshold: "3.0"
truncate: "32"
linters:
enable-all: true
disable:
- exhaustivestruct
- wrapcheck
- testpackage
- paralleltest
- nestif
- godot
- wsl
- lll
- dupl
- funlen
- gochecknoinits
- gochecknoglobals
- godox
- maligned
- gocognit
- gocyclo
- interfacer
- gomnd
- goerr113
- nlreturn
- ifshort
- golint
- scopelint
- cyclop
fast: false