All checks were successful
Lint / pre-commit Linting (push) Successful in 1m30s
Add a devcontainer setup and remove a few redundent pre-commit hooks Reviewed-on: #50
12 lines
262 B
Bash
12 lines
262 B
Bash
#!/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
|