Add linters #22
Annotations
10 errors and 1 warning
Run linters:
internal/pkg/dbUtils/txWrapper.go#L1
var-naming: don't use MixedCaps in package name; dbUtils should be dbutils (revive)
|
Run linters:
internal/pkg/dbUtils/operation.go#L1
var-naming: don't use MixedCaps in package name; dbUtils should be dbutils (revive)
|
Run linters:
internal/pkg/discordUtils/utils.go#L1
var-naming: don't use MixedCaps in package name; discordUtils should be discordutils (revive)
|
Run linters:
internal/pkg/discordUtils/optionsMapper.go#L1
var-naming: don't use MixedCaps in package name; discordUtils should be discordutils (revive)
|
Run linters:
internal/discord/cast.go#L12
Cast is a global variable (gochecknoglobals)
|
Run linters:
internal/discord/lock.go#L19
Lock is a global variable (gochecknoglobals)
|
Run linters:
internal/discord/quote.go#L13
Quote is a global variable (gochecknoglobals)
|
Run linters:
internal/discord/roll.go#L28
Roll is a global variable (gochecknoglobals)
|
Run linters:
internal/discord/unlock.go#L11
Unlock is a global variable (gochecknoglobals)
|
Run linters:
internal/handlers/roll/handler.go#L50
for loop can be changed to use an integer range (Go 1.22+) (intrange)
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading