fix: pre-commit hooks should now be installable in dev containers (#56)
All checks were successful
Lint / pre-commit Linting (push) Successful in 51s
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:
@@ -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
1
.gitignore
vendored
@@ -1,2 +1,3 @@
|
||||
/node_modules/
|
||||
/node_modules/.cache/
|
||||
/coverage/
|
||||
|
||||
Reference in New Issue
Block a user