Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,13 @@ linters:
- strings.Split
- callerName
- securecookie.GenerateRandomKey
revive:
rules:
- name: var-naming
arguments:
- []
- []
- - skipPackageNameChecks: true
exclusions:
generated: lax
presets:
Expand Down
2 changes: 1 addition & 1 deletion server/store/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}