forked from auth0/auth0-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.golangci.yml
46 lines (43 loc) · 875 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
run:
timeout: 5m
allow-parallel-runners: true
linters:
disable-all: true
enable:
- unused
- gofmt
- staticcheck
- revive
- godot
- whitespace
- goimports
- gosimple
- errcheck
- unconvert
- gocritic
# - gosec
# - gocyclo
linters-settings:
gofmt:
simplify: true
staticcheck:
checks: [ "all" ]
godot:
scope: all
capital: true
period: true
goimports:
local-prefixes: "github.com/auth0/auth0-cli"
issues:
exclude-use-default: false
# We are excluding a couple of them,
# so we can fix them one at a time
# as the effort is non-trivial.
exclude:
- "should have a package comment"
- "package comment should be of the form"
- "should have comment"
- "be unexported"
- "blank-imports"
- "unused-parameter"
- "Error return value of (.+) is not checked"