Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,6 @@ linters:
# this should be enabled after fixing or disabling in a few packages
- name: package-directory-mismatch
disabled: true
# would be ok if we could exclude the test files, but otherwise too noisy
- name: add-constant
disabled: true
# maybe enable in the future, needs more investigation
- name: cognitive-complexity
disabled: true
Expand All @@ -125,9 +122,6 @@ linters:
# wtf: "you have exceeded the maximum number of public struct declarations"
- name: max-public-structs
disabled: true
# TBD - often triggered in tests
- name: unhandled-error
disabled: true
# often looks like a red herring, needs investigation
- name: flag-parameter
disabled: true
Expand Down Expand Up @@ -183,6 +177,14 @@ linters:
- linters:
- staticcheck
path: internal/grpctest/
- linters:
- revive
text: "add-constant"
path: _test\.go
- linters:
- revive
text: "unhandled-error"
path: _test\.go
paths:
- .*.pb.go$
- mocks
Expand Down
Loading