mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-24 09:18:31 +02:00
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:
2
.trunk/configs/.markdownlint.yaml
Normal file
2
.trunk/configs/.markdownlint.yaml
Normal file
@@ -0,0 +1,2 @@
|
||||
# Prettier friendly markdownlint config (all formatting rules disabled)
|
||||
extends: markdownlint/style/prettier
|
||||
7
.trunk/configs/.yamllint.yaml
Normal file
7
.trunk/configs/.yamllint.yaml
Normal file
@@ -0,0 +1,7 @@
|
||||
rules:
|
||||
quoted-strings:
|
||||
required: only-when-needed
|
||||
extra-allowed: ["{|}"]
|
||||
key-duplicates: {}
|
||||
octal-values:
|
||||
forbid-implicit-octal: true
|
||||
Reference in New Issue
Block a user