Add prose-wrap policy: hard-wrap markdown at 80 columns

Configure prettier with proseWrap: always. Reformat all markdown
files to conform.
This commit is contained in:
2026-02-22 16:11:49 +01:00
parent d1a98c2413
commit d7b8ff30e3
6 changed files with 100 additions and 112 deletions

View File

@@ -7,13 +7,13 @@ test:
lint:
@echo "Linting markdown files..."
@$(PRETTIER) --check '**/*.md' --tab-width 4
@$(PRETTIER) --check '**/*.md' --tab-width 4 --prose-wrap always
fmt:
@$(PRETTIER) --write '**/*.md' --tab-width 4
@$(PRETTIER) --write '**/*.md' --tab-width 4 --prose-wrap always
fmt-check:
@$(PRETTIER) --check '**/*.md' --tab-width 4
@$(PRETTIER) --check '**/*.md' --tab-width 4 --prose-wrap always
check: test lint fmt-check