chore: exclude errcheck linter from test files
Test files often ignore error returns for brevity and clarity, especially for cleanup operations that don't affect test outcomes.
This commit is contained in:
parent
11e43542cf
commit
6e01ae6002
@ -86,6 +86,7 @@ issues:
|
|||||||
- gochecknoglobals
|
- gochecknoglobals
|
||||||
- mnd
|
- mnd
|
||||||
- unparam
|
- unparam
|
||||||
|
- errcheck
|
||||||
|
|
||||||
# Allow long lines in generated code or test data
|
# Allow long lines in generated code or test data
|
||||||
- path: ".*_gen\\.go"
|
- path: ".*_gen\\.go"
|
||||||
|
Loading…
Reference in New Issue
Block a user