diff --git a/Dockerfile b/Dockerfile index 4a8e7c86..409c6ea1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,8 +13,8 @@ FROM mstruebing/editorconfig-checker:2.3.5 as editorconfig-checker FROM yoheimuta/protolint:v0.31.0 as protolint FROM golangci/golangci-lint:v1.39.0 as golangci-lint FROM koalaman/shellcheck:v0.7.1 as shellcheck +FROM alpine/terragrunt:0.14.7 as terragrunt FROM wata727/tflint:0.28.0 as tflint -FROM alpine/terragrunt:0.14.5 as terragrunt FROM mvdan/shfmt:v3.2.4 as shfmt FROM accurics/terrascan:2d1374b as terrascan FROM hadolint/hadolint:latest-alpine as dockerfile-lint diff --git a/lib/linter.sh b/lib/linter.sh index 65aa3ee6..330bb037 100755 --- a/lib/linter.sh +++ b/lib/linter.sh @@ -832,8 +832,8 @@ LINTER_COMMANDS_ARRAY['STATES']="asl-validator --json-path" LINTER_COMMANDS_ARRAY['SQL']="sql-lint --config ${SQL_LINTER_RULES}" LINTER_COMMANDS_ARRAY['TEKTON']="tekton-lint" LINTER_COMMANDS_ARRAY['TERRAFORM']="tflint -c ${TERRAFORM_LINTER_RULES}" -LINTER_COMMANDS_ARRAY['TERRAFORM_TERRASCAN']="terrascan scan -i terraform -t all -f " -LINTER_COMMANDS_ARRAY['TERRAGRUNT']="terragrunt hclfmt --terragrunt-check --terragrunt-hclfmt-file " +LINTER_COMMANDS_ARRAY['TERRAFORM_TERRASCAN']="terrascan scan -i terraform -t all -f" +LINTER_COMMANDS_ARRAY['TERRAGRUNT']="terragrunt hclfmt --terragrunt-check --terragrunt-log-level error --terragrunt-hclfmt-file" LINTER_COMMANDS_ARRAY['TSX']="eslint --no-eslintrc -c ${TSX_LINTER_RULES}" LINTER_COMMANDS_ARRAY['TYPESCRIPT_ES']="eslint --no-eslintrc -c ${TYPESCRIPT_ES_LINTER_RULES}" LINTER_COMMANDS_ARRAY['TYPESCRIPT_STANDARD']="standard --parser @typescript-eslint/parser --plugin @typescript-eslint/eslint-plugin ${TYPESCRIPT_STANDARD_LINTER_RULES}"