forked from cedar-policy/cedar-go
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.golangci.yml
More file actions
50 lines (46 loc) · 1.06 KB
/
.golangci.yml
File metadata and controls
50 lines (46 loc) · 1.06 KB
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
version: "2"
formatters:
enable:
- goimports
settings:
goimports:
local-prefixes:
- github.com/cedar-policy/cedar-go
linters:
enable:
- errcheck
- errname
- govet
- ineffassign
- revive
- staticcheck
exclusions:
rules:
# Legitimate exclusion - we don't need to thoroughly document internal types
- path: internal/
linters:
- revive
text: exported
# Legitimate exclusion - we don't need to thoroughly document unstable interfaces
- path: x/
linters:
- revive
text: exported
# Legitimate exclusion - we don't need to thoroughly document internal packages
- path: internal/
linters:
- revive
text: package-comments
# We will make an effort to remove this exclusion
- path: types/
linters:
- revive
text: exported
settings:
revive:
rules:
- name: var-naming
arguments:
- []
- []
- - skip-package-name-checks: true