tflint is a linter for Terraform.

You can enable the tflint linter with:

trunk check enable tflint

Auto Enabling

tflint will be auto-enabled if any Terraform files are present.


tflint supports the following config files:

  • .tflint.hcl

You can move these files to .trunk/configs and trunk check will still find them. See Moving Linter Configs for more info.

Last updated