Skip to content

Commit 9c3a515

Browse files
JoviDeCroockclaude
andcommitted
Exclude pracht typegen outputs from oxfmt
pracht typegen --check requires generated files to byte-match the emitter's output (quoted keys, single-line types) while oxfmt --check requires prettier-style formatting — the two can never both hold, and the formatter rewriting the generated file is what caused the original committed drift. Generated files are not formatter-governed. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 2cc118a commit 9c3a515

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.oxfmtrc.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11
{
22
"$schema": "./node_modules/oxfmt/configuration_schema.json",
3-
"ignorePatterns": ["**/*.md", "**/package.json", "**/LICENSE"]
3+
"ignorePatterns": [
4+
"**/*.md",
5+
"**/package.json",
6+
"**/LICENSE",
7+
"**/pracht.d.ts",
8+
"**/pracht-routes.ts",
9+
"**/pracht-capabilities.d.ts"
10+
]
411
}

0 commit comments

Comments
 (0)