chore(trunk): add linter configs and update versions

- Add .markdownlint.yaml with prettier-friendly config
- Add .yamllint.yaml with custom rules
- Enable yamllint and markdownlint in trunk.yaml
- Update Go runtime to 1.26.0
- Update linter versions (checkov, golangci-lint2, osv-scanner, trufflehog)
- Enable pre-push and pre-commit hooks
- Update .gitignore to track .trunk/configs directory
This commit is contained in:
yusing
2026-02-15 17:31:36 +08:00
parent 0a139067b8
commit a9aabc0a20
4 changed files with 24 additions and 18 deletions

11
.gitignore vendored
View File

@@ -14,30 +14,21 @@ data/
debug/
logs/
log/
.vscode/settings.json
go.work.sum
!cmd/**/
!internal/**/
todo.md
.*.swp
.aider*
mtrace.json
.env
*.env
.cursorrules
.cursor/
.windsurfrules
test.Dockerfile
node_modules/
tsconfig.tsbuildinfo
!agent.compose.yml
!agent/pkg/**
dev-data/
@@ -46,5 +37,7 @@ RELEASE_NOTES.md
CLAUDE.md
.kilocode/**
!.trunk/configs
# minified files
**/*-min.*