It seems like -f compact formatting is ignored. It outputs the same as default. Other options like -f json or -f sarif seem to work fine.
Expected Behavior
One-line per error output when using tflint -f compact
Actual behavior
► tflint --init
Plugin `google` is already installed
► tflint -f compact
Failed to load configurations; example.tf:3,16-4,1: Invalid expression; Expected the start of an expression, but found an invalid expression token.:
Error: Invalid expression
on example.tf line 3, in module "example":
3: version =
4: project_id = var.project_id
Expected the start of an expression, but found an invalid expression token.
As you can see it prints full output, same as with -f default.
Step to Reproduce
Example file in the current directory: example.tf:
Introduction
It seems like
-f compact
formatting is ignored. It outputs the same asdefault
. Other options like-f json
or-f sarif
seem to work fine.Expected Behavior
One-line per error output when using
tflint -f compact
Actual behavior
As you can see it prints full output, same as with
-f default
.Step to Reproduce
Example file in the current directory:
example.tf
:Additional Context