Skip to content

dodopizza/tflint-ruleset-dodo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TFLint Ruleset Dodo

Build Status

This is a template repository with custom ruleset. See also Writing Plugins for more information.

Requirements

  • TFLint v0.30+
  • Go v1.17

Installation

You can install the plugin with tflint --init. Declare a config in .tflint.hcl as follows:

plugin "dodo" {
  enabled = true

  version = "0.1.0"
  source  = "github.com/dodopizza/tflint-ruleset-dodo"
}

Rules

All rules enabled by default and have ERROR severity.

Name Description
dodo_comments Check that all comments written in consistent way.
dodo_file_content Check that all files looks similarly, mostly focused on vertical alignment
dodo_terraform_backend_type Check that modules specify azurerm as backend type
dodo_foreach_count If resource have for_each or count expression check that they go as first argument and delimited by newline after it

About

Set of linter rules to use for dodo terraform code

Topics

Resources

Stars

Watchers

Forks