Skip to content
Open
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: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
Copy link

Copilot AI Apr 6, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The hook sources .husky/_/husky.sh, but this PR doesn’t add the .husky/_ directory (it’s not present in the repo). As-is, the hook will fail with “No such file” and the commit will be blocked. Add the Husky support files under .husky/_ (e.g., husky.sh and its companion files) or update the hook to match the Husky v9-generated template used in this repo.

Suggested change
. "$(dirname -- "$0")/_/husky.sh"

Copilot uses AI. Check for mistakes.

npx lint-staged --verbose
3 changes: 3 additions & 0 deletions .lintstagedrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"*.{ts,tsx,js,jsx,json,css,scss,md,html,yaml,yml}": "prettier --write"
}
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@
"eslint-plugin-testing-library": "6.2.2",
"eslint-plugin-vitest": "0.5.4",
"generate-license-file": "4.1.0",
"husky": "8.0.3",
"husky": "9.1.7",
Copy link

Copilot AI Apr 6, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bumping to Husky v9 won’t actually enable the hook unless Husky is installed to Git’s hooksPath (usually via husky/husky install during install). This repo’s prepare script currently only copies .env, so developers/CI won’t get hooks automatically. Update prepare (or add an appropriate lifecycle script) to run Husky installation in addition to the existing .env setup.

Copilot uses AI. Check for mistakes.
"i18next-parser": "9.0.2",
"inquirer": "8.2.6",
"jest": "29.7.0",
Expand Down
Loading