Skip to content

Commit ed7dd2b

Browse files
committed
build(format): thread --ignore-path into format scripts
format/format:check ran bare oxfmt --write/--check . without the --ignore-path .config/fleet/.prettierignore that lint --all already passes, so `pnpm run format` reformatted cascaded fleet-canonical files (.claude/, .config/fleet/) it must not touch.
1 parent 382e61f commit ed7dd2b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
"clean": "node scripts/clean.mts",
2323
"cover": "COVERAGE=true pnpm exec vitest run --coverage --config .config/vitest.config.mts",
2424
"fix": "node scripts/fleet/fix.mts",
25-
"format": "oxfmt -c .config/fleet/oxfmtrc.json --write .",
26-
"format:check": "oxfmt -c .config/fleet/oxfmtrc.json --check .",
25+
"format": "oxfmt -c .config/fleet/oxfmtrc.json --ignore-path .config/fleet/.prettierignore --write .",
26+
"format:check": "oxfmt -c .config/fleet/oxfmtrc.json --ignore-path .config/fleet/.prettierignore --check .",
2727
"lint": "node scripts/fleet/lint.mts",
2828
"prepare": "node scripts/fleet/install-git-hooks.mts && node scripts/fleet/install-git-hooks.mts",
2929
"publish": "node scripts/fleet/publish.mts",

0 commit comments

Comments
 (0)