Skip to content

Commit

Permalink
Allow ignoring errors for rollbacks
Browse files Browse the repository at this point in the history
  • Loading branch information
flimzy committed Feb 10, 2024
1 parent 2da8f07 commit ec012c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .golangci.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ enable = [
exclude-use-default = false

[[issues.exclude-rules]]
source = "defer .*\\.Close\\(\\)$"
source = "defer .*\\.(Close|Rollback)\\(\\)$"
linters = ["errcheck"]

[linters-settings.gci]
Expand Down

0 comments on commit ec012c5

Please sign in to comment.