Configure prettier prose-wrap in .prettierrc instead of the CLI (#17184)

This also removes the file-specific targets from prettier execution
which means we're including `.json`, `.css`, and `.html` files, which
seems like an improvement.

Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
Zanie Blue
2025-12-18 18:54:23 -06:00
committed by GitHub
parent c2e1983cd6
commit e006a69fe8
11 changed files with 213 additions and 520 deletions
+1 -2
View File
@@ -150,8 +150,7 @@ def main() -> None:
# Format all generated READMEs once at the end
subprocess.run(
["npx", "prettier", "--write", "--prose-wrap", "always"]
+ [str(path) for path in generated_paths],
["npx", "prettier", "--write"] + [str(path) for path in generated_paths],
check=True,
)