``` feat(pet): 重构宠物繁殖系统,添加蛋孵化功能
This commit is contained in:
46
common/utils/concurrent-swiss-map/.golangci.yml
Normal file
46
common/utils/concurrent-swiss-map/.golangci.yml
Normal file
@@ -0,0 +1,46 @@
|
||||
run:
|
||||
skip-dirs:
|
||||
- swiss
|
||||
- swiss/simd
|
||||
- maphash
|
||||
skip-files:
|
||||
- "concurrent_swiss_map_benchmark_test.go"
|
||||
skip-dirs-use-default: false
|
||||
|
||||
linters-settings:
|
||||
lll:
|
||||
line-length: 140
|
||||
funlen:
|
||||
lines: 70
|
||||
|
||||
linters:
|
||||
disable-all: true
|
||||
enable:
|
||||
- bodyclose
|
||||
- depguard
|
||||
- errcheck
|
||||
- exhaustive
|
||||
- funlen
|
||||
- goconst
|
||||
- gocritic
|
||||
- gocyclo
|
||||
- revive
|
||||
- gosimple
|
||||
- govet
|
||||
- gosec
|
||||
- ineffassign
|
||||
- lll
|
||||
- misspell
|
||||
- nakedret
|
||||
- gofumpt
|
||||
- staticcheck
|
||||
- stylecheck
|
||||
- typecheck
|
||||
- unconvert
|
||||
- unparam
|
||||
- whitespace
|
||||
|
||||
service:
|
||||
golangci-lint-version: 1.50.x # use the fixed version to not introduce new linters unexpectedly
|
||||
prepare:
|
||||
- echo "here I can run custom commands, but no preparation needed for this repo"
|
||||
Reference in New Issue
Block a user