feat: Update devcontainer setup with Dockerfile and improved script for pre-commit hooks
All checks were successful
Lint / pre-commit Linting (push) Successful in 1m37s
All checks were successful
Lint / pre-commit Linting (push) Successful in 1m37s
This commit is contained in:
@@ -11,9 +11,7 @@
|
||||
},
|
||||
"ghcr.io/devcontainers/features/git:1": {},
|
||||
"ghcr.io/devcontainers/features/git-lfs:1": {},
|
||||
"ghcr.io/devcontainers-extra/features/pipx-package:1": {
|
||||
"packages": "pre-commit, ruff"
|
||||
}
|
||||
"ghcr.io/devcontainers-extra/features/pre-commit:2": {}
|
||||
},
|
||||
"customizations": {
|
||||
"vscode": {
|
||||
@@ -30,13 +28,13 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"postCreateCommand": "npm install",
|
||||
"postStartCommand": "bash .devcontainer/setup.sh",
|
||||
"remoteUser": "node",
|
||||
"remoteUser": "vscode",
|
||||
"updateRemoteUserUID": true,
|
||||
"mounts": [
|
||||
"source=pipx-venvs,target=/home/node/.local/share/pipx,type=volume",
|
||||
"source=pipx-bin,target=/home/node/.local/bin,type=volume",
|
||||
"source=pre-commit-cache,target=/home/node/.cache/pre-commit,type=volume",
|
||||
"source=${localEnv:HOME}/.gemini,target=/home/node/.gemini,type=bind"
|
||||
"source=${localEnv:USERPROFILE}/.gemini,target=/home/node/.gemini,type=bind"
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user