explorer: Hard-wrap Markdown with prettier

- Format all files Prettier supports
- Run `prettier .` in format and check, so both cover the same files
- Check Markdown, which only format covered before
- Replace stale ignore entries with `crates`
This commit is contained in:
Daniel Norman
2026-10-27 11:09:32 +01:00
parent 196ddbf47e
commit 563cafbc85
4 changed files with 4 additions and 5 deletions
+1 -1
View File
@@ -9,4 +9,4 @@ npx svelte-check --tsconfig tsconfig.json --config ./vite.config.ts --fail-on-wa
# Buildkite cache path is always a directory, never a file.
mkdir -p .lintcache
npx eslint --cache --cache-location .lintcache/eslint --cache-strategy content --max-warnings 0 .
npx prettier "**/*.@(ts|js|svelte|json|css|html|yml)" --ignore-path .gitignore --ignore-path .prettierignore --check --cache --cache-location .lintcache/prettier
npx prettier . --check --cache --cache-location .lintcache/prettier