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

View File

@@ -104,9 +104,7 @@ jobs:
run: cargo fmt --all --check
- name: "Prettier"
run: |
npx prettier --check "**/*.{json5,yaml,yml}"
npx prettier --prose-wrap always --check "**/*.md"
run: npx prettier --check .
- name: "README check"
run: python scripts/transform_readme.py --target pypi