forked from G-Rath/osv-detector
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.golangci.yaml
37 lines (36 loc) · 910 Bytes
/
.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
output:
sort-results: true
linters:
# prettier-ignore
disable:
- tagliatelle # we're parsing data from external sources
- varnamelen # maybe later
- exhaustivestruct # overkill
- forcetypeassert # too hard
- interfacer # deprecated
- golint # deprecated
- scopelint # deprecated
- maligned # deprecated
- lll # line length is hard
- godox # to-do comments are fine
- godot # comments are fine without full stops
- gomnd # not every number is magic
- wsl # disagree with, for now
presets:
- bugs
- comment
- error
- performance
- sql
- style
- test
- unused
issues:
exclude-rules:
- path: _test\.go
linters:
- goerr113
- dupl
- path: main.go
linters:
- gochecknoglobals