Add security and git policies, make repo a model example

- Never commit secrets; comprehensive .gitignore with fetch URL
- Never force-push to main
- go mod tidy before committing
- make hooks target with Go repo detection
- Add .editorconfig, .prettierrc, .prettierignore
- Template files URL for new repo setup
This commit is contained in:
2026-02-22 16:06:13 +01:00
parent d7f14f7517
commit 06f279fa5b
6 changed files with 63 additions and 4 deletions

16
.gitignore vendored
View File

@@ -1,5 +1,21 @@
# OS
.DS_Store
Thumbs.db
# Editors
*.swp
*.swo
*~
*.bak
.idea/
.vscode/
*.sublime-*
# Node
node_modules/
# Environment / secrets
.env
.env.*
*.pem
*.key