diff --git a/.golangci.reference.yml b/.golangci.reference.yml index c54e75c4dfc4..dde175ca6b10 100644 --- a/.golangci.reference.yml +++ b/.golangci.reference.yml @@ -1917,24 +1917,25 @@ linters-settings: # Default: false disable-end-check: true - # Enable all checks. This overrides individual check settings. + # Enable all checks. + # This overrides individual check settings. # Default: false enable-all: true - # Enables a check that `span.RecordError` is called whenever a path to a return statement with an error - # is found. Developers should use `span.RecordError(err)` to create an exception event on the span. + # Enables a check that `span.RecordError` is called whenever a path to a return statement with an error is found. + # Developers should use `span.RecordError(err)` to create an exception event on the span. # https://github.com/jjti/go-spancheck#checks # Default: false enable-record-error-check: true - # Enables a check that `span.SetStatus` is called whenever a path to a return statement with an error - # is found. Developers should use `span.SetStatus(codes.Error, msg)` to set the `status:error` attribute - # on the span. + # Enables a check that `span.SetStatus` is called whenever a path to a return statement with an error is found. + # Developers should use `span.SetStatus(codes.Error, msg)` to set the `status:error` attribute on the span. # https://github.com/jjti/go-spancheck#checks # Default: false enable-set-status-check: true - # A slice of regexes for function signatures that, if found in the call path to an error return statement, + # A slice of regexes for function signatures that, + # if found in the call path to an error return statement, # should silence the RecordError check. # https://github.com/jjti/go-spancheck#configuration # Default: []