forked from wallix/terraform-provider-wallix-bastion
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.golangci.yml
43 lines (41 loc) · 776 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
run:
timeout: 5m
linters:
enable-all: true
disable:
# deprecated
- execinquery # deprecated 1.58.0
- gomnd # deprecated 1.58.0
- exportloopref # deprecated 1.60.2
# unwanted
- cyclop
- depguard
- dupl
- err113
- exhaustruct
- forcetypeassert
- funlen
- gomoddirectives
- mnd
- nestif
- paralleltest
- tagliatelle
- varnamelen
- wsl
linters-settings:
gci:
custom-order: true
sections:
- standard
- localModule
- default
govet:
enable-all: true
disable:
- fieldalignment
gocognit:
# minimal code complexity to report, 30 by default
min-complexity: 30
gocyclo:
# minimal code complexity to report, 30 by default
min-complexity: 30