21 lines
371 B
YAML
21 lines
371 B
YAML
linters:
|
|
enable:
|
|
- revive
|
|
- sloglint
|
|
|
|
issues:
|
|
exclude-rules:
|
|
- path: _test.go
|
|
linters:
|
|
- errcheck
|
|
|
|
linters-settings:
|
|
errcheck:
|
|
exclude-functions:
|
|
# Used in HTTP handlers, any error is handled by the server itself.
|
|
- (net/http.ResponseWriter).Write
|
|
revive:
|
|
rules:
|
|
- name: unused-parameter
|
|
disabled: true
|