You've already forked woodpecker
mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-09-16 08:46:30 +02:00
Disable package name linting (#5294)
This commit is contained in:
@@ -160,6 +160,13 @@ linters:
|
||||
- strings.Split
|
||||
- callerName
|
||||
- securecookie.GenerateRandomKey
|
||||
revive:
|
||||
rules:
|
||||
- name: var-naming
|
||||
arguments:
|
||||
- []
|
||||
- []
|
||||
- - skipPackageNameChecks: true
|
||||
exclusions:
|
||||
generated: lax
|
||||
presets:
|
||||
|
@@ -40,5 +40,5 @@ func ToContext(c *gin.Context, store Store) {
|
||||
}
|
||||
|
||||
func InjectToContext(ctx context.Context, store Store) context.Context {
|
||||
return context.WithValue(ctx, key, store) //nolint:revive,staticcheck
|
||||
return context.WithValue(ctx, key, store) //nolint:staticcheck
|
||||
}
|
||||
|
Reference in New Issue
Block a user