Skip to content

Commit

Permalink
ci: Disable lll linter (#355)
Browse files Browse the repository at this point in the history
It has not given us much value. Instead of adding 'nolint' lines for the
few cases where we do need long lines, better not have this linter and
keep the code base free of linter pragmas.
  • Loading branch information
rhcarvalho authored May 20, 2021
1 parent bfc1343 commit c74469e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ linters:
- govet
- ineffassign
- interfacer
- lll
- maligned
- misspell
- nakedret
Expand Down
1 change: 0 additions & 1 deletion transport_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ type unserializableType struct {
UnsupportedField func()
}

//nolint: lll
const (
basicEvent = `{"message":"mkey","sdk":{},"user":{}}`
enhancedEventInvalidBreadcrumb = `{"extra":{"info":"Could not encode original event as JSON. Succeeded by removing Breadcrumbs, Contexts and Extra. Please verify the data you attach to the scope. Error: json: error calling MarshalJSON for type *sentry.Event: json: error calling MarshalJSON for type *sentry.Breadcrumb: json: unsupported type: func()"},"message":"mkey","sdk":{},"user":{}}`
Expand Down

0 comments on commit c74469e

Please sign in to comment.