chore: sync project files

This commit is contained in:
richjohnrambo
2026-08-11 10:29:38 +08:00
parent c9d6a6767f
commit 5aa7733515
310 changed files with 3323 additions and 36 deletions
+45
View File
@@ -0,0 +1,45 @@
linters-settings:
govet:
check-shadowing: true
disable:
- composites
golint:
min-confidence: 0
gocyclo:
min-complexity: 10
maligned:
suggest-new: true
dupl:
threshold: 100
goconst:
min-len: 2
min-occurrences: 2
misspell:
locale: US
lll:
line-length: 140
gocritic:
enabled-tags:
- performance
- style
- experimental
disabled-checks:
- wrapperFunc
- commentFormatting # https://github.com/go-critic/go-critic/issues/755
linters:
enable-all: true
disable:
- errcheck
- maligned
- prealloc
- gosec
- gochecknoglobals
# options for analysis running
run:
# list of build tags, all linters use it. Default is empty list.
build-tags:
- mysql
- rethinkdb
- mongodb