Skip to content

Commit

Permalink
follow-up
Browse files Browse the repository at this point in the history
* rm spancheck linter for now (no need)

Signed-off-by: Alex Aizman <[email protected]>
  • Loading branch information
alex-aizman committed Feb 11, 2024
1 parent de8b5e6 commit dbdf7c5
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ linters:
- prealloc
- protogetter
- reassign
- spancheck
- staticcheck
- testifylint
- testpackage
Expand Down Expand Up @@ -152,18 +151,6 @@ linters-settings:
# Default is to use a neutral variety of English.
# Setting locale to US will correct the British spelling of 'colour' to 'color'.
locale: US
spancheck:
# Checks to enable.
# Options include:
# - `end`: check that `span.End()` is called
# - `record-error`: check that `span.RecordError(err)` is called when an error is returned
# - `set-status`: check that `span.SetStatus(codes.Error, msg)` is called when an error is returned
# Default: ["end"]
checks:
- end
- record-error
- set-status


issues:
# use default exclude rules
Expand Down

0 comments on commit dbdf7c5

Please sign in to comment.