Skip to content

Latest commit

 

History

History
45 lines (31 loc) · 1.12 KB

tflint.md

File metadata and controls

45 lines (31 loc) · 1.12 KB
description title layout
TFLint is an essential linter designed for Terraform. It helps improve code quality, maintainability, and security in infrastructure as code (IaC) projects.
Trunk | How to run TFLint
title description tableOfContents outline pagination
visible
true
visible
visible
true
visible
true
visible
true

TFLint

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.

Settings

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 Linters for more info.

Links