diff --git a/.oxfmtrc.jsonc b/.oxfmtrc.jsonc index 221e1cd7172..bd8b39bc11a 100644 --- a/.oxfmtrc.jsonc +++ b/.oxfmtrc.jsonc @@ -1,5 +1,20 @@ { "$schema": "./node_modules/oxfmt/configuration_schema.json", + "arrowParens": "always", + "bracketSameLine": false, + "bracketSpacing": true, + "embeddedLanguageFormatting": "auto", + "endOfLine": "lf", + "htmlWhitespaceSensitivity": "css", + "insertFinalNewline": true, + "jsxSingleQuote": false, + "objectWrap": "preserve", + "printWidth": 100, + "proseWrap": "preserve", + "quoteProps": "as-needed", + "semi": true, + "singleAttributePerLine": false, + "singleQuote": false, "sortImports": { "newlinesBetween": false, }, @@ -7,6 +22,7 @@ "sortScripts": true, }, "tabWidth": 2, + "trailingComma": "all", "useTabs": false, "ignorePatterns": [ "apps/", diff --git a/CHANGELOG.md b/CHANGELOG.md index 11b00962c34..b48881f622d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ Docs: https://docs.openclaw.ai ### Changes +- Build: pin explicit oxfmt defaults in the shared formatter config to keep formatting behavior stable across upgrades. - TypeScript: enable stricter compiler checks for implicit returns, side-effect imports, overrides, and unused production code. - Build: upgrade workspace package management to pnpm 11 and keep Docker, install, update, and release workflows on the pnpm 11 config surface. (#79414) Thanks @altaywtf. - Models: add provider-level `localService` startup for on-demand local model servers before OpenAI-compatible requests, including one-shot model probes.