mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-10 13:31:38 +00:00
opentui(ts): enforce prettier in the gate
Add a [1/4] format step to scripts/check.sh running `bunx prettier --check src` (matching how the script invokes the other tools), renumbering the existing steps to 2-4. Future formatting drift now fails the gate. The unused-imports/no-unused-vars warn → error promotion shipped in the no-non-null-assertion commit (where the eslint rule changes live).
This commit is contained in:
parent
4cb9aa6664
commit
3d87abcf1c
1 changed files with 6 additions and 3 deletions
|
|
@ -9,13 +9,16 @@ set -euo pipefail
|
|||
|
||||
cd "$(dirname "$0")/.."
|
||||
|
||||
echo "== [1/3] type-check =="
|
||||
echo "== [1/4] format (prettier --check) =="
|
||||
bunx prettier --check src
|
||||
|
||||
echo "== [2/4] type-check =="
|
||||
bun run type-check
|
||||
|
||||
echo "== [2/3] lint =="
|
||||
echo "== [3/4] lint =="
|
||||
bun run lint
|
||||
|
||||
echo "== [3/3] bun test (incl. headless frame gate) =="
|
||||
echo "== [4/4] bun test (incl. headless frame gate) =="
|
||||
bun test
|
||||
|
||||
echo "== check OK =="
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue