mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-16 03:40:37 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user