-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.golangci.yml
57 lines (51 loc) · 932 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
linters:
disable:
- golint
- maligned
- nolintlint
- ireturn
# - staticcheck # does not support generics
# - unused # does not support generics
# - stylecheck # does not support generics
# - gosimple # does not support generics
- wrapcheck
- exhaustruct
- godox
- nonamedreturns
- exhaustivestruct
- varnamelen
- nosprintfhostport
- gochecknoglobals
- gci
- gomnd
- testpackage
- gomoddirectives
- tparallel
presets:
- bugs
- comment
- complexity
- error
- format
- import
- metalinter
- module
- performance
- sql
- style
- test
- unused
linters-settings:
govet:
disable:
- fieldalignment
revive:
rules:
- name: exported
severity: warning
disabled: true
run:
go: '1.19'
skip-dirs:
- adapters/driven/persistence/transaction
- tests/mocks