Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
bufdev committed Mar 4, 2024
1 parent f375ccf commit 4f35d39
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ linters:
- scopelint # deprecated by author
- structcheck # abandoned
- testpackage # internal tests are fine
- thelper # we want to print out the whole stack
- varcheck # abandoned
- wrapcheck # don't _always_ need to wrap errors
- wsl # generous whitespace violates house style
Expand All @@ -52,3 +53,13 @@ issues:
# Don't ban use of fmt.Errorf to create new errors, but the remaining
# checks from err113 are useful.
- "err113: do not define dynamic errors.*"
exclude-rules:
- linters:
- protogetter
path: protoplugin_test.go
- linters:
- exhaustruct
path: protoplugin.go
- linters:
- exhaustruct
path: response_writer.go

0 comments on commit 4f35d39

Please sign in to comment.