Add a devcontainer setup and remove a few redundent pre-commit hooks Reviewed-on: #50
This commit was merged in pull request #50.
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
# 1. Fix Git Permissions (Critical in Docker)
|
||||
git config --global --add safe.directory $(pwd)
|
||||
|
||||
# In your setup.sh or postCreateCommand
|
||||
sudo chown -R node:node /home/node/.cache/
|
||||
|
||||
# 2. Re-connect Git Hooks
|
||||
pre-commit install
|
||||
pre-commit install-hooks
|
||||
Reference in New Issue
Block a user