Skip to content

Commit b619c23

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 b619c23

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

app/vite.config.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,13 @@ 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: ["src/routeTree.gen.ts", "dev.db*", "icon-data/**", "drizzle/**", "e2e/**", "CHANGELOG.md", "src-tauri/tauri.conf.json"],
9294
},
9395
lint: {
94-
ignorePatterns: ["src/routeTree.gen.ts", "dev.db*", "icon-data/**", "drizzle/**", "e2e/**"],
96+
ignorePatterns: ["src/routeTree.gen.ts", "dev.db*", "icon-data/**", "drizzle/**", "e2e/**", "CHANGELOG.md", "src-tauri/tauri.conf.json"],
9597
jsPlugins: [{ name: "vite-plus", specifier: "vite-plus/oxlint-plugin" }],
9698
rules: { "vite-plus/prefer-vite-plus-imports": "error" },
9799
options: { typeAware: true, typeCheck: true },

0 commit comments

Comments
 (0)