forked from wasilibs/go-protoc-gen-tonic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.golangci.yml
45 lines (43 loc) · 840 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
linters:
enable:
# We opt-in to style linters without the preset since many
# are too strict (e.g., no init functions allowed).
- copyloopvar
- decorder
- dupword
- gci
- gocritic
- gofumpt
- goprintffuncname
- inamedparam
- intrange
- mirror
- revive
- stylecheck
- tenv
- unconvert
- usestdlibvars
- wastedassign
presets:
- bugs
- performance
linters-settings:
gci:
sections:
- standard
- default
- prefix(github.com/wasilibs/go-protoc-gen-tonic)
gosec:
config:
G306: "0644"
issues:
exclude:
- don't use an underscore in package name
- should not use underscores in package names
exclude-rules:
- path: _test\.go
linters:
- errcheck
- errchkjson
- gosec
- noctx