|
|
|
@ -1,5 +1,5 @@
|
|
|
|
|
service:
|
|
|
|
|
golangci-lint-version: 1.56.x # use the fixed version to not introduce new linters unexpectedly
|
|
|
|
|
golangci-lint-version: 1.57.x # use the fixed version to not introduce new linters unexpectedly
|
|
|
|
|
|
|
|
|
|
run:
|
|
|
|
|
concurrency: 4
|
|
|
|
@ -8,23 +8,6 @@ run:
|
|
|
|
|
build-tags:
|
|
|
|
|
- integ
|
|
|
|
|
- integfuzz
|
|
|
|
|
# which dirs to skip: they won't be analyzed;
|
|
|
|
|
# can use regexp here: generated.*, regexp is applied on full path;
|
|
|
|
|
# default value is empty list, but next dirs are always skipped independently
|
|
|
|
|
# from this option's value:
|
|
|
|
|
# vendor$, third_party$, testdata$, examples$, Godeps$, builtin$
|
|
|
|
|
skip-dirs:
|
|
|
|
|
- genfiles$
|
|
|
|
|
- vendor$
|
|
|
|
|
- bin$
|
|
|
|
|
|
|
|
|
|
# which files to skip: they will be analyzed, but issues from them
|
|
|
|
|
# won't be reported. Default value is empty list, but there is
|
|
|
|
|
# no need to include all autogenerated files, we confidently recognize
|
|
|
|
|
# autogenerated files. If it's not please let us know.
|
|
|
|
|
skip-files:
|
|
|
|
|
- ".*\\.pb\\.go"
|
|
|
|
|
- ".*\\.gen\\.go"
|
|
|
|
|
|
|
|
|
|
linters:
|
|
|
|
|
disable-all: true
|
|
|
|
@ -136,6 +119,14 @@ issues:
|
|
|
|
|
- unparam
|
|
|
|
|
text: "is always false"
|
|
|
|
|
|
|
|
|
|
exclude-dirs:
|
|
|
|
|
- genfiles$
|
|
|
|
|
- vendor$
|
|
|
|
|
- bin$
|
|
|
|
|
exclude-files:
|
|
|
|
|
- ".*\\.pb\\.go"
|
|
|
|
|
- ".*\\.gen\\.go"
|
|
|
|
|
|
|
|
|
|
# Independently from option `exclude` we use default exclude patterns,
|
|
|
|
|
# it can be disabled by this option. To list all
|
|
|
|
|
# excluded by default patterns execute `golangci-lint run --help`.
|
|
|
|
|