1 Star 0 Fork 0

pipego/plugin-fetch

Create your Gitee Account
Explore and code with more than 13.5 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
.golangci.yml 1.60 KB
Copy Edit Raw Blame History
Jia Jia authored 2024-09-08 19:48 +08:00 . ore(go): upgrade go to v1.23
linters-settings:
dupl:
threshold: 100
funlen:
lines: 100
statements: 50
goconst:
min-len: 2
min-occurrences: 2
gocritic:
enabled-tags:
- diagnostic
- experimental
- opinionated
- performance
- style
disabled-checks:
- dupImport
- ifElseChain
- octalLiteral
- whyNoLint
- wrapperFunc
gocyclo:
min-complexity: 15
goimports:
local-prefixes: github.com/golangci/golangci-lint
golint:
min-confidence: 0
govet:
shadow: true
settings:
printf:
funcs:
- (github.com/golangci/golangci-lint/pkg/logutils.Log).Infof
- (github.com/golangci/golangci-lint/pkg/logutils.Log).Warnf
- (github.com/golangci/golangci-lint/pkg/logutils.Log).Errorf
- (github.com/golangci/golangci-lint/pkg/logutils.Log).Fatalf
lll:
line-length: 140
maligned:
suggest-new: true
misspell:
locale: US
mnd:
checks: argument,case,condition,return
linters:
disable-all: true
enable:
- copyloopvar
- dogsled
- errcheck
- funlen
- gochecknoinits
- goconst
- gocritic
- gocyclo
- gofmt
- mnd
- goprintffuncname
- gosec
- govet
- ineffassign
- lll
- misspell
- nakedret
- typecheck
- unconvert
- whitespace
# don't enable:
# - deadcode
# - depguard
# - dupl
# - gochecknoglobals
# - gocognit
# - godox
# - goimports
# - golint
# - interfacer
# - maligned
# - prealloc
# - stylecheck
# - unparam
# - unused
# - varcheck
issues:
exclude-dirs:
- external
- script
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/pipego/plugin-fetch.git
git@gitee.com:pipego/plugin-fetch.git
pipego
plugin-fetch
plugin-fetch
main

Search