From 55b45bd44778ea01a38b09845f730ccc84a0ded7 Mon Sep 17 00:00:00 2001 From: Boshen Date: Tue, 3 Mar 2026 12:23:54 +0800 Subject: [PATCH 1/3] chore(oxfmt): ignore clangd include files list --- .oxfmtrc.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.oxfmtrc.json b/.oxfmtrc.json index 93a1579ec..bef138bcf 100644 --- a/.oxfmtrc.json +++ b/.oxfmtrc.json @@ -7,7 +7,8 @@ "**/dist/**/*", "**/lib/**/*", "**/node_modules/**/*", - "**/production/**/*" + "**/production/**/*", + "packages/examples/resources/clangd/clangd-include.files.md" ], "endOfLine": "lf", "trailingComma": "none", From a0a5fd79907d46bb9400ae13098cffdba0f2d5b5 Mon Sep 17 00:00:00 2001 From: Boshen Date: Tue, 3 Mar 2026 12:28:56 +0800 Subject: [PATCH 2/3] chore(oxfmt): document clangd include ignore reason --- .oxfmtrc.json | 1 + 1 file changed, 1 insertion(+) diff --git a/.oxfmtrc.json b/.oxfmtrc.json index bef138bcf..41db47edb 100644 --- a/.oxfmtrc.json +++ b/.oxfmtrc.json @@ -8,6 +8,7 @@ "**/lib/**/*", "**/node_modules/**/*", "**/production/**/*", + // Markdown formatter can be pathologically slow on this file (oxc issue #19929). "packages/examples/resources/clangd/clangd-include.files.md" ], "endOfLine": "lf", From ab2dbfb60a1ba0cfe7f8f75ccbb2a71a85394fa2 Mon Sep 17 00:00:00 2001 From: Boshen Date: Tue, 3 Mar 2026 12:31:18 +0800 Subject: [PATCH 3/3] chore(oxfmt): clarify ignore rationale for markdown glob --- .oxfmtrc.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.oxfmtrc.json b/.oxfmtrc.json index 41db47edb..4c3a67657 100644 --- a/.oxfmtrc.json +++ b/.oxfmtrc.json @@ -8,7 +8,7 @@ "**/lib/**/*", "**/node_modules/**/*", "**/production/**/*", - // Markdown formatter can be pathologically slow on this file (oxc issue #19929). + // Exclude this file because `**` can be interpreted as Markdown bold/nesting and cause slow formatting (oxc issue #19929). "packages/examples/resources/clangd/clangd-include.files.md" ], "endOfLine": "lf",