From 5b6435dbf4a4cc97bbb42b0d0f1047b48874aa2f Mon Sep 17 00:00:00 2001 From: jdalton Date: Fri, 3 Apr 2026 12:53:41 -0400 Subject: [PATCH 1/2] Add format and format:check scripts for consistency Aligns with socket-btm and ultrathink convention: - format: oxfmt --write . (auto-fix formatting) - format:check: oxfmt . (check-only, CI) --- package.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package.json b/package.json index ee42f9d69..774dd11ab 100644 --- a/package.json +++ b/package.json @@ -23,6 +23,8 @@ "fix:all": "node scripts/fix.mjs --all", "lint": "node scripts/lint.mjs", "lint:all": "node scripts/lint.mjs --all", + "format": "oxfmt --write .", + "format:check": "oxfmt .", "// Claude": "", "claude": "pnpm --filter @socketsecurity/cli run claude --", "// Type Checking": "", From c4ba2b4436824c68061830cef29de72b3a6aa9d9 Mon Sep 17 00:00:00 2001 From: jdalton Date: Sat, 4 Apr 2026 09:28:11 -0400 Subject: [PATCH 2/2] fix: use --check flag in format:check script --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 774dd11ab..66682ddad 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "lint": "node scripts/lint.mjs", "lint:all": "node scripts/lint.mjs --all", "format": "oxfmt --write .", - "format:check": "oxfmt .", + "format:check": "oxfmt --check .", "// Claude": "", "claude": "pnpm --filter @socketsecurity/cli run claude --", "// Type Checking": "",