fix: pre-commit hooks should now be installable in dev containers (#56)
All checks were successful
Lint / pre-commit Linting (push) Successful in 51s

Reviewed-on: #56
This commit was merged in pull request #56.
This commit is contained in:
2025-12-31 18:55:42 +01:00
parent 97ecdcbc66
commit 3f19a64809
2 changed files with 2 additions and 1 deletions

View File

@@ -5,7 +5,7 @@ git config --global --add safe.directory $(pwd)
# In your setup.sh or postCreateCommand
sudo chown -R node:node /home/node/.cache/
sudo chown -R node:node .git/hooks
# 2. Re-connect Git Hooks
pre-commit install
pre-commit install-hooks

1
.gitignore vendored
View File

@@ -1,2 +1,3 @@
/node_modules/
/node_modules/.cache/
/coverage/