Merged
Conversation
Aligns with socket-btm and ultrathink convention: - format: oxfmt --write . (auto-fix formatting) - format:check: oxfmt . (check-only, CI)
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix prepared a fix for the issue found in the latest run.
- ✅ Fixed: Missing
--checkflag informat:checkscript- Added the
--checkflag to theformat:checkscript so it validates formatting without modifying files, as intended for CI usage.
- Added the
Or push these changes by commenting:
@cursor push c4291df99d
Preview (c4291df99d)
diff --git a/package.json b/package.json
--- 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": "",You can send follow-ups to the cloud agent here.
Comment @cursor review or bugbot run to trigger another review on this PR
1 task
kakarot0O
approved these changes
Apr 4, 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.


Summary
formatandformat:checkscripts to root package.jsonDetails
format:oxfmt --write .— auto-fix formattingformat:check:oxfmt .— check-only (for CI)Both repos already had oxfmt as a devDependency and in lint-staged, but no top-level scripts to run it standalone.
Note
Low Risk
Low risk: this only adds root-level npm scripts for running the existing formatter and does not affect runtime code or build outputs unless invoked.
Overview
Adds root
package.jsonscripts to runoxfmtdirectly:formatfor write-mode formatting (oxfmt --write .) andformat:checkfor check-only runs (oxfmt .). This makes formatting available as a standalone command (e.g., for local use or CI) without changing any application logic.Written by Cursor Bugbot for commit 5b6435d. Configure here.