forked from Percona-Lab/pmm-api-tests
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.golangci.yml
37 lines (31 loc) · 827 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
---
linters-settings:
depguard:
list-type: blacklist
include-go-root: true
packages:
# use "github.com/pkg/errors" instead
- errors
# use "github.com/golang/protobuf/proto" instead
- github.com/gogo/protobuf/proto
goimports:
local-prefixes: github.com/Percona-Lab/pmm-api-tests
lll:
line-length: 170
tab-width: 4
unused:
check-exported: true
unparam:
check-exported: true
linters:
enable-all: true
disable:
- wsl # too annoying
- unused # very annoying false positive: https://github.com/golangci/golangci-lint/issues/791
- goerr113 # we use different approach for errors
- testpackage # senseless
issues:
exclude-use-default: false
exclude:
# gas: Duplicated errcheck checks
- 'G104: Errors unhandled'