mirror of
https://github.com/simonw/datasette.git
synced 2026-07-08 08:34:42 +02:00
Add Prettier check to lint recipe (#2821)
This commit is contained in:
parent
2f84ab77f2
commit
9c033b7ce9
1 changed files with 2 additions and 1 deletions
3
Justfile
3
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue