You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sonic/.golangci.yml

51 lines
728 B
YAML

run:
timeout: 5m
skip-files:
- .gen.go
- .pb.go
issues:
new: false
linters:
enable:
- errcheck
- gosimple
- govet
- ineffassign
- staticcheck
- typecheck
- unused
- asasalint
- asciicheck
- bodyclose
- decorder
- depguard
- dogsled
- errname
- errorlint
- gocritic
- gofmt
- gofumpt
- goimports
- misspell
- nakedret
- revive
- prealloc
- stylecheck
- unconvert
- unparam
- whitespace
- usestdlibvars
- wastedassign
linters-settings:
goimports:
local-prefixes: github.com/go-sonic/sonic
revive:
rules:
- name: blank-imports
severity: warning
disabled: true