mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-28 08:22:24 +00:00
- Adds `scripts/agent/review-pr.mjs` to automate PR checks. - Supports iterating open PRs via `gh` CLI. - Runs `npm ci`, `format`, `lint`, and `test:unit`. - Reports results to PR comments. - Offers auto-fix for formatting changes. - Adds guardrails for sensitive files (Nostr, crypto).
46 lines
1.1 KiB
Markdown
46 lines
1.1 KiB
Markdown
# Automated PR Review
|
|
**Context:** jules-17818997485755159011-27e733a1
|
|
**Date:** 2026-01-19T23:31:08.588Z
|
|
|
|
## ✅ Formatting
|
|
No formatting issues found.
|
|
## ⚠️ Linter Warnings/Errors
|
|
`npm run lint` reported issues:
|
|
<details><summary>Show Lint Output</summary>
|
|
|
|
```
|
|
|
|
> [email protected] lint
|
|
> npm run lint:css && npm run lint:hex && npm run lint:inline-styles && npm run lint:tokens && npm run lint:tailwind-brackets && npm run lint:tailwind-colors
|
|
|
|
|
|
> [email protected] lint:css
|
|
> stylelint css/tailwind.source.css css/tokens.css
|
|
|
|
|
|
> [email protected] lint:hex
|
|
> node scripts/check-hex.js
|
|
|
|
|
|
> [email protected] lint:inline-styles
|
|
> node scripts/check-inline-styles.mjs
|
|
|
|
No inline style usage found.
|
|
|
|
> [email protected] lint:tokens
|
|
> node scripts/check-design-tokens.mjs --check=tokens
|
|
|
|
|
|
Design token lint failed: raw measurements detected outside tokens.
|
|
|
|
css/tailwind.source.css:5598 → 2rem
|
|
min-width: 2rem;
|
|
css/tailwind.source.css:5613 → 8rem
|
|
min-width: 8rem;
|
|
|
|
Move these measurements into css/tokens.css or use the metrics helper.
|
|
|
|
```
|
|
</details>
|
|
## ❌ Test Timeout
|
|
`npm run test:unit` timed out after 5 minutes. |