mirror of
https://github.com/sot-tech/mochi.git
synced 2026-05-21 07:14:48 -07:00
54 lines
1.0 KiB
YAML
54 lines
1.0 KiB
YAML
version: "2"
|
|
run:
|
|
go: "1.23"
|
|
linters:
|
|
enable:
|
|
- bidichk
|
|
- bodyclose
|
|
- errname
|
|
- errorlint
|
|
- goprintffuncname
|
|
- gosec
|
|
- importas
|
|
- makezero
|
|
- prealloc
|
|
- predeclared
|
|
- revive
|
|
- rowserrcheck
|
|
- staticcheck
|
|
- unconvert
|
|
- wastedassign
|
|
- whitespace
|
|
settings:
|
|
gosec:
|
|
excludes:
|
|
- G505
|
|
- G115
|
|
staticcheck:
|
|
checks:
|
|
- all
|
|
exclusions:
|
|
generated: lax
|
|
presets:
|
|
- common-false-positives
|
|
- legacy
|
|
- std-error-handling
|
|
paths:
|
|
- third_party$
|
|
- builtin$
|
|
- examples$
|
|
formatters:
|
|
enable:
|
|
- gofumpt
|
|
- goimports
|
|
settings:
|
|
goimports:
|
|
local-prefixes:
|
|
- sot-te.ch/mochi
|
|
exclusions:
|
|
generated: lax
|
|
paths:
|
|
- third_party$
|
|
- builtin$
|
|
- examples$
|