forked from transcom/mymove
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.golangci.yml
67 lines (66 loc) · 1.75 KB
/
.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
59
60
61
62
63
64
65
66
67
---
linters-settings:
revive:
rules:
- name: indent-error-flow
disabled: true
- name: superfluous-else
disabled: true
gci:
sections:
- standard
- default
- prefix(github.com/transcom/mymove)
goimports:
local-prefixes: github.com/transcom/mymove
gomodguard:
blocked:
modules:
- github.com/gobuffalo/uuid:
recommendations:
- github.com/gofrs/uuid
reason: uuid from GoBuffalo is deprecated in favor of the gofrs uuid package.
See https://github.com/gobuffalo/uuid
- github.com/gobuffalo/validate:
recommendations:
- github.com/gobuffalo/validate/v3
reason: MilMove is now on Pop v6, do not use older versions of this module
- github.com/gobuffalo/pop:
recommendations:
- github.com/gobuffalo/pop/v6
reason: MilMove is now on Pop v6, do not use older versions of this module
- github.com/gobuffalo/pop/soda:
recommendations:
- github.com/gobuffalo/pop/v6/soda
reason: MilMove is now on Pop v6, do not use older versions of this module
- github.com/facebookgo/clock:
recommendations:
- github.com/benbjohnson/clock
reason: facebookgo/clock is archived and inactive, recommend using original fork
repo
linters:
enable:
- errcheck
- gci
- gofmt
- goimports
- gomodguard
- gosec
- gosimple
- govet
- ineffassign
- revive
- staticcheck
#- typecheck
- unused
fast: false
issues:
fix: true
exclude-dirs:
- pkg/gen
- .*mocks
run:
timeout: 8m
concurrency: 1
issues-exit-code: 1
tests: true