Configuration
December 8, 2022 ยท View on GitHub
This plugin can take advantage of additional features by configuring the plugin block. Currently, this configuration is only available for preset.
Here's an example:
plugin "terraform" {
# Plugin common attributes
preset = "recommended"
}
preset
Default: all (recommended for the bundled plugin)
Enable multiple rules at once. Please see Rules for details. Possible values are recommended and all.
The preset have higher priority than disabled_by_default and lower than each rule block.
When using the bundled plugin built into TFLint, you can use this plugin without declaring a "plugin" block. In this case the default is recommended.