forked from authzed/spicedb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.golangci.yaml
64 lines (64 loc) · 1.23 KB
/
.golangci.yaml
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
---
output:
sort-results: true
linters-settings:
goimports:
local-prefixes: "github.com/authzed/spicedb"
rowserrcheck:
packages:
- "github.com/jmoiron/sqlx"
- "github.com/jackc/pgx"
linters:
enable:
- "deadcode"
- "errcheck"
- "gofumpt"
- "goimports"
- "gosimple"
- "govet"
- "ineffassign"
- "revive"
- "rowserrcheck"
- "staticcheck"
- "structcheck"
- "typecheck"
- "unused"
- "varcheck"
issues:
exclude-rules:
- path: "internal/dispatch"
linters:
- "revive"
- path: "internal/graph"
linters:
- "revive"
- path: "internal/namespace"
linters:
- "revive"
- path: "internal/testfixtures"
linters:
- "revive"
- path: "pkg/consistent"
linters:
- "revive"
- path: "pkg/graph"
linters:
- "revive"
- path: "pkg/membership"
linters:
- "revive"
- path: "pkg/migrate"
linters:
- "revive"
- path: "pkg/namespace"
linters:
- "revive"
- path: "pkg/schemadsl"
linters:
- "revive"
- path: "pkg/validation"
linters:
- "revive"
- text: "tx.Rollback()"
linters:
- "errcheck"