Skip to content

Commit 5c0bdab

Browse files
authored
Changed severity level from ERROR to WARNING (#9)
Signed-off-by: Lasse Gaardsholt <lasse.gaardsholt@bestseller.com>
1 parent bb59d1a commit 5c0bdab

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ func main() {
1010
plugin.Serve(&plugin.ServeOpts{
1111
RuleSet: &tflint.BuiltinRuleSet{
1212
Name: "trailing-comma",
13-
Version: "0.1.2",
13+
Version: "0.2.0",
1414
Rules: []tflint.Rule{
1515
rules.NewTerraformListsTrailingCommaRule(),
1616
},

rules/terraform_lists_trailing_comma.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ func (r *TerraformListsTrailingCommaRule) Enabled() bool {
2828

2929
// Severity returns the rule severity
3030
func (r *TerraformListsTrailingCommaRule) Severity() tflint.Severity {
31-
return tflint.ERROR
31+
return tflint.WARNING
3232
}
3333

3434
// Link returns the rule reference link

0 commit comments

Comments
 (0)