feat: 增加五语言静态检查基线#13
Merged
Merged
Conversation
wecomgroup
commented
Jul 11, 2026
wecomgroup
left a comment
Contributor
Author
There was a problem hiding this comment.
已完成五种语言静态检查基线接入:
- Node.js:ESLint
- Python:Ruff
- PHP:PHPStan
- Java:Checkstyle
- Go:golangci-lint、gofmt、govet、staticcheck
本地测试、五语言 CI 和 CodeQL 均已通过,现有 lint 告警已全部处理。
baobao84
approved these changes
Jul 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
变更内容
npm run lint。.[dev]可选依赖。verify阶段检查。ci.yml,并补充中英文贡献指南中的本地命令。验证
npm run lint、npm test:通过。ruff check .、Python unittest:通过。composer run lint、PHP runner:通过。mvn --batch-mode --no-transfer-progress verify、Java runner:通过。golangci-lint run ./...、go test -count=1 ./...:通过。actionlint .github/workflows/ci.yml:通过。composer validate --strict、git diff --check:通过。影响
这些工具均为开发/CI 检查依赖,不改变五种 SDK 的运行时依赖和对外接口。合并后可据此更新 OpenSSF Best Practices 的
warnings、warnings_fixed和warnings_strict。