Nowy lepszy trunk

Additional lines of code

1

AAA
This commit is contained in:
2024-02-02 22:35:19 +01:00
committed by migatu
parent 432abc73b9
commit f55c4ce1a7
9 changed files with 1937 additions and 92 deletions
+1
View File
@@ -6,3 +6,4 @@
plugins
user_trunk.yaml
user.yaml
tmp
-3
View File
@@ -2,9 +2,6 @@ rules:
quoted-strings:
required: only-when-needed
extra-allowed: ["{|}"]
empty-values:
forbid-in-block-mappings: true
forbid-in-flow-mappings: true
key-duplicates: {}
octal-values:
forbid-implicit-octal: true
+23 -30
View File
@@ -1,43 +1,36 @@
# 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.14.2
version: 1.20.1
# Trunk provides extensibility via plugins. (https://docs.trunk.io/plugins)
plugins:
sources:
- id: trunk
ref: v1.2.1
ref: v1.4.4
uri: https://github.com/trunk-io/plugins
lint:
enabled:
- checkov@2.4.9
- yamllint@1.32.0
- actionlint@1.6.25
- markdownlint@0.35.0
- trivy@0.44.1
- trufflehog@3.54.0
- pylint
- codespell
- cspell
- git-diff-check
- eslint
- prettier
- semgrep
- autopep8
- bandit
- black
- flake8
- isort
- mypy
- pylint
- ruff
- semgrep
- yapf
- gitleaks
# Many linters and tools depend on runtimes - configure them here. (https://docs.trunk.io/runtimes)
runtimes:
enabled:
- go@1.19.5
- node@18.12.1
- python@3.10.8
# This is the section where you manage your linters. (https://docs.trunk.io/check/configuration)
lint:
enabled:
- actionlint@1.6.27
- bandit@1.7.7
- black@24.2.0
- codespell
- checkov@3.2.32
- git-diff-check
- isort@5.13.2
- pylint
- markdownlint@0.39.0
- prettier@3.2.5
- ruff@0.3.1
- trivy@0.49.1
- trufflehog@3.68.5
- yamllint@1.35.1
actions:
disabled:
- trunk-announce