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

50 lines
713 B
YAML

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