forked from ConsultingMD/go-auth0
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.golangci.yml
42 lines (39 loc) · 824 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
run:
timeout: 5m
allow-parallel-runners: true
linters:
disable-all: true
enable:
- unused
- gofmt
- staticcheck
- revive
- godot
- whitespace
- goimports
- unconvert
- gocritic
- errcheck
- gosec
- gocyclo
linters-settings:
gofmt:
simplify: true
staticcheck:
checks: [ "all" ]
godot:
scope: declarations
capital: true
goimports:
local-prefixes: "github.com/ConsultingMD/go-auth0"
issues:
exclude-use-default: false
exclude:
- "Error return value of `response.Body.Close` is not checked"
- "Error return value of `w.Write` is not checked"
- "G307: Deferring unsafe method \"Close\" on type \"io.ReadCloser\""
- "should have a package comment"
exclude-rules:
- path: "(.+)_test.go"
linters:
- gosec