|
|
1ab49af76d
|
chore(lint): 重构 golangci 配置,重新启用多项检查
重新启用 bodyclose、errorlint、contextcheck、prealloc、unconvert 等检查,
按类别整理禁用项,添加细粒度排除规则。
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-04-10 17:58:34 +08:00 |
|
|
|
52a210ed19
|
chore(config): 调整 golangci-lint 和 Makefile 配置
golangci.yml:
- 排除 lua 包的 revive stuttering 检查
- 配置 revive exported 规则禁用 stuttering 检查
Makefile:
- 简化构建命令,移除冗余的 build 和 build-prod 区分
- 默认 build 使用最大性能优化构建
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-04-10 16:55:47 +08:00 |
|
|
|
d1f27002e0
|
chore(golangci): 调整配置结构,迁移排除规则
将 issues.exclude-rules 移至 linters.exclusions.rules
格式统一化,移除冗余配置项
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-04-10 09:41:07 +08:00 |
|
|
|
16069149a3
|
chore: 新增 golangci-lint 配置
配置项目代码检查规则,保留核心检查,禁用噪音过大的 linters。
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-04-09 17:48:32 +08:00 |
|