add base config files

This commit is contained in:
WorldTeacher
2024-06-28 07:49:53 +02:00
parent fca5c468cc
commit 38cd97b3cf
9 changed files with 146 additions and 0 deletions

59
.trunk/trunk.yaml Normal file
View File

@@ -0,0 +1,59 @@
# This file controls the behavior of Trunk: https://docs.trunk.io/cli
# To learn more about the format of this file, see https://docs.trunk.io/reference/trunk-yaml
version: 0.1
cli:
version: 1.22.2
plugins:
sources:
- id: trunk
ref: v1.6.0
uri: https://github.com/trunk-io/plugins
runtimes:
enabled:
- node@18.12.1
- python@3.10.8
lint:
disabled:
- flake8
- taplo
- pylint
- mypy
- git-diff-check
- checkov
- oxipng
- prettier
- trivy
- trufflehog
- black
- isort
enabled:
- svgo@3.3.2
- osv-scanner@1.8.1
- sql-formatter@15.3.2
- sqlfluff@3.0.7
- ruff@0.4.10
- bandit@1.7.9
- markdownlint@0.41.0
- yamllint@1.35.1
actions:
disabled:
- trunk-fmt-pre-commit
- trunk-announce
- trunk-check-pre-push
- trunk-upgrade-available
#ignore the following folders
# .history
# .vscode
# .idea
# .git
# .github
# .trunk# .vscode
# node_modules
# .DS_Store
# .pytest_cache
# .mypy_cache
# build
# dist
# __pycache__
# .venv
# .ipynb_checkpoints