Add Prettier check to lint recipe (#2821)

This commit is contained in:
Simon Willison 2026-07-03 09:50:35 -07:00 committed by GitHub
commit 9c033b7ce9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -33,10 +33,11 @@ export DATASETTE_SECRET := "not_a_secret"
uv run codespell datasette -S datasette/static --ignore-words docs/codespell-ignore-words.txt
uv run codespell tests --ignore-words docs/codespell-ignore-words.txt
# Run linters: black, ruff, cog
# Run linters: black, ruff, prettier, cog
@lint: codespell
uv run black datasette tests --check
uv run ruff check datasette tests
npm run prettier -- --check
uv run cog --check README.md docs/*.rst
# Apply ruff fixes