diff --git a/.trunk/configs/.hadolint.yaml b/.trunk/configs/.hadolint.yaml new file mode 100644 index 0000000..98bf0cd --- /dev/null +++ b/.trunk/configs/.hadolint.yaml @@ -0,0 +1,4 @@ +# Following source doesn't work in most setups +ignored: + - SC1090 + - SC1091 diff --git a/.trunk/configs/.shellcheckrc b/.trunk/configs/.shellcheckrc new file mode 100644 index 0000000..8c7b1ad --- /dev/null +++ b/.trunk/configs/.shellcheckrc @@ -0,0 +1,7 @@ +enable=all +source-path=SCRIPTDIR +disable=SC2154 + +# If you're having issues with shellcheck following source, disable the errors via: +# disable=SC1090 +# disable=SC1091 diff --git a/.trunk/trunk.yaml b/.trunk/trunk.yaml index 6c7b830..c72d43a 100644 --- a/.trunk/trunk.yaml +++ b/.trunk/trunk.yaml @@ -96,6 +96,9 @@ lint: run_from: ${root_or_parent_with(biome.jsonc)} run_timeout: 1m enabled: + - hadolint@2.15.1 + - shellcheck@0.11.0 + - shfmt@3.14.1 - tflint@0.66.0 - actionlint@1.17.1 # Renovate bumps it, and Biome Migrate migrates biome.jsonc on its branch; @@ -104,7 +107,7 @@ lint: - git-diff-check - pyright@1.1.414 # The format command of ruff is disabled in the plugin by default - - ruff@0.17.4: + - ruff@0.17.5: commands: - lint - format