fix: pre-commit hooks should now be installable in dev containers (#56)
Lint / pre-commit Linting (push) Successful in 51s
Lint / pre-commit Linting (push) Successful in 51s
Reviewed-on: #56
This commit was merged in pull request #56.
This commit is contained in:
1 parent
97ecdcbc66
commit
3f19a64809
2 files changed
+2
-1
No files matched your search
@@ -5,7 +5,7 @@ git config --global --add safe.directory $(pwd)
|
|||||||
|
|
||||||
# In your setup.sh or postCreateCommand
|
# In your setup.sh or postCreateCommand
|
||||||
sudo chown -R node:node /home/node/.cache/
|
sudo chown -R node:node /home/node/.cache/
|
||||||
|
sudo chown -R node:node .git/hooks
|
||||||
# 2. Re-connect Git Hooks
|
# 2. Re-connect Git Hooks
|
||||||
pre-commit install
|
pre-commit install
|
||||||
pre-commit install-hooks
|
pre-commit install-hooks
|
||||||
@@ -1,2 +1,3 @@
|
|||||||
/node_modules/
|
/node_modules/
|
||||||
/node_modules/.cache/
|
/node_modules/.cache/
|
||||||
|
/coverage/
|
||||||
Reference in new issue
Block a user