mirror of
https://github.com/grafana/loki.git
synced 2026-03-13 09:33:58 +08:00
chore: increase min-occurrences to 5 (#19691)
This commit is contained in:
@@ -47,6 +47,8 @@ linters:
|
||||
deny:
|
||||
- pkg: github.com/go-kit/kit/log
|
||||
desc: Use github.com/go-kit/log instead of github.com/go-kit/kit/log
|
||||
goconst:
|
||||
min-occurrences: 5
|
||||
misspell:
|
||||
ignore-rules:
|
||||
- strat
|
||||
@@ -59,7 +61,7 @@ linters:
|
||||
- std-error-handling
|
||||
rules:
|
||||
- path: pkg/scheduler/scheduler.go
|
||||
text: 'SA1019: msg.GetHttpRequest is deprecated: Do not use'
|
||||
text: "SA1019: msg.GetHttpRequest is deprecated: Do not use"
|
||||
- linters:
|
||||
- goconst
|
||||
path: (.+)_test\.go
|
||||
|
||||
Reference in New Issue
Block a user