-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.golangci.yaml
More file actions
53 lines (53 loc) · 836 Bytes
/
.golangci.yaml
File metadata and controls
53 lines (53 loc) · 836 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
42
43
44
45
46
47
48
49
50
51
52
53
---
run:
timeout: 1m
issues-exit-code: 2
tests: false
output:
sort-results: true
issues:
max-same-issues: 0
linters:
disable-all: true
enable:
- errcheck
- gosimple
- govet
- ineffassign
- staticcheck
- unused
- bodyclose
- cyclop
- dupl
- errname
- forcetypeassert
- gochecknoinits
- gocognit
- goimports
- gomoddirectives
- gosec
- misspell
- musttag
- nestif
- noctx
- revive
- stylecheck
- tagliatelle
- unconvert
linters-settings:
gosimple:
checks:
- all
- '-S1002' # ignore implicit if conditions
- '-S1034'
cyclop:
max-complexity: 20
skip-tests: true
tagliatelle:
case:
rules:
json: goCamel
revive:
rules:
- name: receiver-naming
disabled: true