diff --git a/.trunk/configs/.yamllint.yaml b/.trunk/configs/.yamllint.yaml new file mode 100644 index 0000000..4d44466 --- /dev/null +++ b/.trunk/configs/.yamllint.yaml @@ -0,0 +1,10 @@ +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 diff --git a/.trunk/trunk.yaml b/.trunk/trunk.yaml index 4c10872..1ebabb1 100644 --- a/.trunk/trunk.yaml +++ b/.trunk/trunk.yaml @@ -1,23 +1,25 @@ version: 0.1 cli: - version: 1.3.1 + version: 1.7.0 plugins: sources: - id: trunk - ref: v0.0.8 + ref: v0.0.15 uri: https://github.com/trunk-io/plugins lint: enabled: - - buf-lint@1.12.0 - - buf-breaking@1.12.0 - - actionlint@1.6.22 + - yamllint@1.30.0 + - buf-lint@1.17.0 + - buf-breaking@1.17.0 + - actionlint@1.6.24 - markdownlint@0.33.0 - - prettier@2.8.3 - - gitleaks@8.15.2 + - prettier@2.8.7 + - gitleaks@8.16.2 - git-diff-check runtimes: enabled: - - go@1.18.3 + - python@3.10.8 + - go@1.19.5 - node@18.12.1 actions: disabled: