-
Notifications
You must be signed in to change notification settings - Fork 469
Expand file tree
/
Copy path.golangci.yml
More file actions
59 lines (56 loc) · 906 Bytes
/
.golangci.yml
File metadata and controls
59 lines (56 loc) · 906 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
54
55
56
57
58
59
version: "2"
run:
tests: true
linters:
default: none
enable:
- bodyclose
- depguard
- dogsled
- dupl
- gocritic
- gocyclo
- goprintffuncname
- govet
- ineffassign
- misspell
- nakedret
- staticcheck
- unconvert
- unused
- whitespace
settings:
depguard:
rules:
main:
list-mode: lax
allow:
- $all
deny: []
govet:
enable-all: true
disable:
- fieldalignment
- shadow
misspell:
locale: US
staticcheck:
checks:
- all
exclusions:
presets: []
rules:
- path: _test\.go
linters:
- dupl
- path: resources_cmds\.go
linters:
- dupl
formatters:
enable:
- gofmt
- goimports
settings:
goimports:
local-prefixes:
- github.com/stripe/stripe-cli