chore: enforce linux line endings
Some checks are pending
Lint / pre-commit Linting (push) Waiting to run
Some checks are pending
Lint / pre-commit Linting (push) Waiting to run
Add .gitattributes and .editorconfig to enforce LF line endings. Update devcontainer settings.
This commit is contained in:
@@ -20,7 +20,8 @@
|
||||
],
|
||||
"settings": {
|
||||
"editor.formatOnSave": true,
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
||||
"files.eol": "\n"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -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
|
||||
sudo chown -R node:node /workspaces/screeps-deploy-action/.git/hooks
|
||||
# 2. Re-connect Git Hooks
|
||||
pre-commit install
|
||||
pre-commit install-hooks
|
||||
|
||||
Reference in New Issue
Block a user