Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .githooks/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ staged_files=$(git diff --cached --name-only --diff-filter=ACMR -- '*.md' '*.jso
if [ -n "$staged_files" ]; then
# Word-splitting is intentional: pass each newline-separated path as an argument.
# shellcheck disable=SC2086
npx --yes prettier@3.9.6 --check $staged_files
npx --yes prettier@3.9.9 --check $staged_files
fi

staged_md=$(git diff --cached --name-only --diff-filter=ACMR -- '*.md')

if [ -n "$staged_md" ]; then
# shellcheck disable=SC2086
npx --yes cspell@10.3.0 --no-progress --gitignore $staged_md
npx --yes cspell@10.3.6 --no-progress --gitignore $staged_md
fi
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
node-version: 24

- name: Check formatting
run: npx --yes prettier@3.9.6 --check "**/*.{md,json,json5,yml,yaml}"
run: npx --yes prettier@3.9.9 --check "**/*.{md,json,json5,yml,yaml}"

spell:
name: CSpell
Expand All @@ -47,4 +47,4 @@ jobs:
node-version: 24

- name: Check spelling
run: npx --yes cspell@10.3.0 --no-progress --gitignore "**/*.md"
run: npx --yes cspell@10.3.6 --no-progress --gitignore "**/*.md"
Loading