3 Star 1 Fork 0

Gitee 极速下载/go-swagger

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/go-swagger/go-swagger
克隆/下载
.golangci.yml 1.54 KB
一键复制 编辑 原始数据 按行查看 历史
Frederic BIDON 提交于 2025-03-29 01:34 +08:00 . ci: upgraded golangci config
version: "2"
linters:
enable:
- depguard
- errorlint
- gocritic
- gosec
- misspell
- revive
- staticcheck
- testifylint
- unconvert
disable:
- dupl
- gochecknoglobals
- gochecknoinits
- lll
- nakedret
- unparam
settings:
depguard:
rules:
main:
list-mode: lax
deny:
- pkg: github.com/pkg/errors
desc: Use errors or fmt instead of github.com/pkg/errors
dupl:
threshold: 200
goconst:
min-len: 2
min-occurrences: 2
gocyclo:
min-complexity: 25
govet:
enable:
- shadow
testifylint:
enable:
- bool-compare
- compares
- empty
- error-is-as
- error-nil
- expected-actual
- len
- require-error
- suite-dont-use-pkg
- suite-extra-assert-call
disable:
- float-compare
- go-require
exclusions:
generated: lax
presets:
- comments
- common-false-positives
- legacy
- std-error-handling
paths:
- playground
- fixtures
- cmd
- third_party$
- builtin$
- examples$
issues:
max-issues-per-linter: 0
max-same-issues: 0
new: true
formatters:
enable:
- gofumpt
- goimports
settings:
goimports:
local-prefixes:
- github.com/go-swagger/go-swagger
exclusions:
generated: lax
paths:
- playground
- fixtures
- cmd
- third_party$
- builtin$
- examples$
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/mirrors/go-swagger.git
git@gitee.com:mirrors/go-swagger.git
mirrors
go-swagger
go-swagger
master

搜索帮助