diff --git a/.oxfmtrc.jsonc b/.oxfmtrc.jsonc index 7d80600ac9..df83c05eb2 100644 --- a/.oxfmtrc.jsonc +++ b/.oxfmtrc.jsonc @@ -1,5 +1,16 @@ { "$schema": "./node_modules/oxfmt/configuration_schema.json", - "indentWidth": 2, - "printWidth": 100 + "ignorePatterns": [ + "apps/", + "assets/", + "dist/", + "docs/_layouts/", + "node_modules/", + "patches/", + "pnpm-lock.yaml/", + "scripts/", + "skills/", + "Swabble/", + "vendor/", + ], } diff --git a/package.json b/package.json index c15522c0d2..d91b0e6ce8 100644 --- a/package.json +++ b/package.json @@ -115,10 +115,10 @@ "lint:swift": "swiftlint lint --config .swiftlint.yml && (cd apps/ios && swiftlint lint --config .swiftlint.yml)", "lint:all": "pnpm lint && pnpm lint:swift", "lint:fix": "pnpm format:fix && oxlint --type-aware --fix src test", - "format": "oxfmt --check src test", + "format": "oxfmt --check", "format:swift": "swiftformat --lint --config .swiftformat apps/macos/Sources apps/ios/Sources apps/shared/OpenClawKit/Sources", "format:all": "pnpm format && pnpm format:swift", - "format:fix": "oxfmt --write src test", + "format:fix": "oxfmt --write", "test": "node scripts/test-parallel.mjs", "test:watch": "vitest", "test:ui": "pnpm --dir ui test",