Skip to content

Commit 18fe3dd

Browse files
committed
ci: exclude release-please-owned files from oxfmt
release-please re-serializes CHANGELOG.md and tauri.conf.json its own way on every release (expanded JSON arrays, double-spaced changelog headers), which oxfmt then flags — failing CI on each release commit. Add both to the fmt/lint ignorePatterns so the two tools stop fighting.
1 parent bae49ff commit 18fe3dd

1 file changed

Lines changed: 20 additions & 2 deletions

File tree

app/vite.config.ts

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,29 @@ function serveIconsDev() {
8787
const config = defineConfig({
8888
// generated/data files: TanStack Router output, sqlite db, icon atlas + manifest.
8989
// `e2e/**` is a standalone Playwright package (own deps + tooling) — not ours.
90+
// `CHANGELOG.md` + `src-tauri/tauri.conf.json` are owned by release-please, which
91+
// re-serializes them its own way each release — don't let oxfmt fight it.
9092
fmt: {
91-
ignorePatterns: ["src/routeTree.gen.ts", "dev.db*", "icon-data/**", "drizzle/**", "e2e/**"],
93+
ignorePatterns: [
94+
"src/routeTree.gen.ts",
95+
"dev.db*",
96+
"icon-data/**",
97+
"drizzle/**",
98+
"e2e/**",
99+
"CHANGELOG.md",
100+
"src-tauri/tauri.conf.json",
101+
],
92102
},
93103
lint: {
94-
ignorePatterns: ["src/routeTree.gen.ts", "dev.db*", "icon-data/**", "drizzle/**", "e2e/**"],
104+
ignorePatterns: [
105+
"src/routeTree.gen.ts",
106+
"dev.db*",
107+
"icon-data/**",
108+
"drizzle/**",
109+
"e2e/**",
110+
"CHANGELOG.md",
111+
"src-tauri/tauri.conf.json",
112+
],
95113
jsPlugins: [{ name: "vite-plus", specifier: "vite-plus/oxlint-plugin" }],
96114
rules: { "vite-plus/prefer-vite-plus-imports": "error" },
97115
options: { typeAware: true, typeCheck: true },

0 commit comments

Comments
 (0)