chore: add a devcontainer setup (#50)
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
This commit was merged in pull request #50.
This commit is contained in:
2025-12-27 01:02:36 +01:00
parent 25e4ba9f71
commit 65486738c0
3 changed files with 96 additions and 57 deletions

11
.devcontainer/setup.sh Normal file
View File

@@ -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