forked from agola-io/agola
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.golangci.yml
40 lines (38 loc) · 884 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
linters:
enable:
- gci
- stylecheck
- errorlint
- wrapcheck
- paralleltest
linters-settings:
gci:
sections:
- standard
- default
- prefix(agola.io/agola)
- blank
- dot
wrapcheck:
# An array of strings that specify substrings of signatures to ignore.
# If this set, it will override the default set of ignored signatures.
# See https://github.com/tomarrell/wrapcheck#configuration for more information.
ignoreSigs:
- .Errorf(
- errors.New(
- errors.Unwrap(
- .Wrap(
- .Wrapf(
- .WithMessage(
- .WithMessagef(
- .WithStack(
- .NewAPIError(
- .NewAPIErrorWrap(
- .APIErrorFromRemoteError(
ignoreSigRegexps:
- \.New.*Error\(
ignorePackageGlobs:
- encoding/*
- github.com/pkg/*
paralleltest:
ignore-missing: true