64 lines
936 B
YAML
64 lines
936 B
YAML
|
run:
|
||
|
timeout: 5m
|
||
|
go: "1.25"
|
||
|
|
||
|
linters-settings:
|
||
|
gci:
|
||
|
sections:
|
||
|
- standard
|
||
|
- default
|
||
|
- prefix(hypercode.run/alex/ask)
|
||
|
goimports:
|
||
|
local-prefixes: hypercode.run/alex/ask
|
||
|
gomodguard:
|
||
|
allowed:
|
||
|
modules: []
|
||
|
domains: []
|
||
|
blocked:
|
||
|
modules: []
|
||
|
versions: []
|
||
|
|
||
|
linters:
|
||
|
enable:
|
||
|
- bodyclose
|
||
|
- copyloopvar
|
||
|
- dogsled
|
||
|
- dupl
|
||
|
- errcheck
|
||
|
- funlen
|
||
|
- gci
|
||
|
- gochecknoinits
|
||
|
- goconst
|
||
|
- gocritic
|
||
|
- gocyclo
|
||
|
- gofmt
|
||
|
- goimports
|
||
|
- goprintffuncname
|
||
|
- gosec
|
||
|
- gosimple
|
||
|
- govet
|
||
|
- ineffassign
|
||
|
- lll
|
||
|
- mnd
|
||
|
- misspell
|
||
|
- nakedret
|
||
|
- noctx
|
||
|
- nolintlint
|
||
|
- revive
|
||
|
- rowserrcheck
|
||
|
- staticcheck
|
||
|
- stylecheck
|
||
|
- typecheck
|
||
|
- unconvert
|
||
|
- unparam
|
||
|
- unused
|
||
|
- whitespace
|
||
|
|
||
|
issues:
|
||
|
exclude-rules:
|
||
|
- path: _test\.go
|
||
|
linters:
|
||
|
- mnd
|
||
|
- funlen
|
||
|
- gocyclo
|