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