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:
@@ -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,
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user