Skip to content

Commit 2228432

Browse files
authored
ci: add unhandled-error linter configuration (#505)
* ci: add additional linters for code quality checks * ci: remove early-return linter from golangci configuration * ci: add unhandled-error linter configuration with specific argument exclusions
1 parent 8000660 commit 2228432

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.golangci.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,12 @@ linters:
4747
- name: superfluous-else
4848
- name: time-naming
4949
- name: unexported-return
50+
- name: unhandled-error
51+
arguments: # Disable for these only
52+
- fmt.Printf
53+
- fmt.Print
54+
- fmt.Println
55+
- io.Writer.Write
5056
- name: unreachable-code
5157
- name: unused-parameter
5258
- name: var-declaration

0 commit comments

Comments
 (0)