Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 717 Bytes

configuration.md

File metadata and controls

23 lines (14 loc) · 717 Bytes

Configuration

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.