3 Star 1 Fork 0

Gitee 极速下载/otto

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/robertkrimen/otto
克隆/下载
.golangci.yml 1.24 KB
一键复制 编辑 原始数据 按行查看 历史
Steven Hartland 提交于 2024-04-13 17:05 . chore: update ci versions (#519)
run:
timeout: 6m
linters-settings:
govet:
settings:
shadow:
strict: true
enable-all: true
goconst:
min-len: 2
min-occurrences: 4
revive:
enable-all-rules: false
rules:
- name: var-naming
disabled: true
linters:
enable-all: true
disable:
- dupl
- lll
- gochecknoglobals
- gochecknoinits
- scopelint
- funlen
- godox
- exhaustivestruct
- goerr113
- wsl
- nlreturn
- gomnd
- paralleltest
- wrapcheck
- testpackage
- gocognit
- nestif
- exhaustive
- forcetypeassert
- gocyclo
- cyclop
- varnamelen
- maintidx
- ireturn
- exhaustruct
- nosnakecase
- dupword
- structcheck
- deadcode
- golint
- varcheck
- ifshort
- interfacer
- maligned
# Just causes noise
- depguard
# Go 1.22+ only
- copyloopvar
- intrange
issues:
exclude-use-default: false
max-same-issues: 0
exclude:
- Deferring unsafe method "Close" on type "io\.ReadCloser"
exclude-dirs:
- terst
exclude-files:
- dbg/dbg.go
- token/token_const.go
exclude-rules:
# Field alignment in tests isn't a performance issue.
- text: fieldalignment
path: _test\.go
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors/otto.git
git@gitee.com:mirrors/otto.git
mirrors
otto
otto
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385