Run comprehensive project checks and fix all issues by priority.
Use when users need "check code", "run check", "fix lint errors", or "code quality check".
Run the project check command and resolve all errors. Loop: check → fix → re-check until all pass.
| Type | Description | JS/TS | Python | Rust | Go |
|---|---|---|---|---|---|
| ------ | ------------- | ------- | -------- | ------ | ----- |
| Lint | Code style & syntax | ESLint | flake8 | clippy | golint |
| Type Check | Type errors | tsc | mypy | cargo check | go vet |
| Tests | Failing cases | jest/vitest | pytest | cargo test | go test |
| Security | Vulnerability detection | npm audit | bandit | cargo audit | govulncheck |
| Formatting | Style consistency | prettier | black | rustfmt | gofmt |
| Build | Compilation errors | tsc --noEmit | — | cargo check | go build |
npm run check or yarn checkblack → isort → flake8 → mypycargo check → cargo clippygo vet → golintswift-format → swiftlintIf the project has no check script, execute the above commands individually.
共 1 个版本