github.com/terraform-linters/tflint-plugin-sdk@v0.22.0/tflint/config.go (about)

     1  package tflint
     2  
     3  // Config is a TFLint configuration applied to the plugin.
     4  type Config struct {
     5  	Rules             map[string]*RuleConfig
     6  	DisabledByDefault bool
     7  	Only              []string
     8  	Fix               bool
     9  }
    10  
    11  // RuleConfig is a TFLint's rule configuration.
    12  type RuleConfig struct {
    13  	Name    string
    14  	Enabled bool
    15  }