From 9c033b7ce9f9d9e0bc4b12cf458cfce8c15f5a9f Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Fri, 3 Jul 2026 09:50:35 -0700 Subject: [PATCH] Add Prettier check to lint recipe (#2821) --- Justfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Justfile b/Justfile index 5fcd9afd..6ffff870 100644 --- a/Justfile +++ b/Justfile @@ -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