mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-24 17:28: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:
@@ -14,25 +14,29 @@ runtimes:
|
||||
enabled:
|
||||
- node@22.16.0
|
||||
- python@3.10.8
|
||||
- go@1.25.6
|
||||
- go@1.26.0
|
||||
# This is the section where you manage your linters. (https://docs.trunk.io/check/configuration)
|
||||
lint:
|
||||
disabled:
|
||||
- markdownlint
|
||||
- yamllint
|
||||
- bandit
|
||||
- black
|
||||
- isort
|
||||
- ruff
|
||||
enabled:
|
||||
- checkov@3.2.500
|
||||
- golangci-lint2@2.8.0
|
||||
- yamllint@1.38.0
|
||||
- markdownlint@0.47.0
|
||||
- checkov@3.2.501
|
||||
- golangci-lint2@2.9.0
|
||||
- hadolint@2.14.0
|
||||
- actionlint@1.7.10
|
||||
- git-diff-check
|
||||
- gofmt@1.20.4
|
||||
- osv-scanner@2.3.2
|
||||
- osv-scanner@2.3.3
|
||||
- oxipng@10.1.0
|
||||
- prettier@3.8.1
|
||||
- shellcheck@0.11.0
|
||||
- shfmt@3.6.0
|
||||
- trufflehog@3.93.1
|
||||
- trufflehog@3.93.3
|
||||
ignore:
|
||||
- linters: [ALL]
|
||||
paths:
|
||||
@@ -41,7 +45,7 @@ lint:
|
||||
actions:
|
||||
disabled:
|
||||
- trunk-announce
|
||||
- trunk-check-pre-push
|
||||
- trunk-fmt-pre-commit
|
||||
enabled:
|
||||
- trunk-upgrade-available
|
||||
- trunk-check-pre-push
|
||||
- trunk-fmt-pre-commit
|
||||
|
||||
Reference in New Issue
Block a user