Skip to content

How to enable/disable specific rules? #212

Answered by h2oearth
h2oearth asked this question in Q&A
Discussion options

You must be logged in to vote

I found the answer. I leave this here in case someone needs it.

plugin "terraform" {
    enabled = true
    version = "0.9.1"
    preset = "recommended"
    source  = "github.com/terraform-linters/tflint-ruleset-terraform"
}

rule "terraform_comment_syntax" {
    enabled = true
}

rule "terraform_unused_required_providers" {
    enabled = true
}

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by h2oearth
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant