mirror of https://github.com/agola-io/agola
39 lines
829 B
YAML
39 lines
829 B
YAML
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(
|
|
- .NewDetailedError(
|
|
ignoreSigRegexps:
|
|
- \.New.*Error\(
|
|
ignorePackageGlobs:
|
|
- encoding/*
|
|
- github.com/pkg/*
|
|
|
|
paralleltest:
|
|
ignore-missing: true
|