Skip to content

Commit 399a7d8

Browse files
committed
Update lint configurations
1 parent c9e0cb6 commit 399a7d8

File tree

3 files changed

+4
-17
lines changed

3 files changed

+4
-17
lines changed

.editorconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ indent_style = space
88
indent_size = 2
99
trim_trailing_whitespace = true
1010
insert_final_newline = true
11-
max_line_length = 100
11+
max_line_length = 150
1212

1313
[*.{tf,tfvars}]
1414
indent_size = 2

.pre-commit-config.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/antonbabenko/pre-commit-terraform
3-
rev: v1.83.4
3+
rev: v1.97.4
44
hooks:
55
- id: terraform_fmt
66
args:
@@ -20,6 +20,6 @@ repos:
2020
args: ["--args=--sort-by required"]
2121

2222
- repo: https://github.com/adrienverge/yamllint
23-
rev: v1.32.0
23+
rev: v1.36.2
2424
hooks:
2525
- id: yamllint

.tflint.hcl

+1-14
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ config {
22
plugin_dir = "~/.tflint.d/plugins"
33

44
format = "compact"
5-
module = true
5+
call_module_type = "local"
66
force = false
77
disabled_by_default = false
88

@@ -62,16 +62,3 @@ rule "terraform_unused_declarations" {
6262
rule "terraform_unused_required_providers" {
6363
enabled = true
6464
}
65-
66-
67-
###################################################
68-
# Rule Sets - AWS
69-
###################################################
70-
71-
plugin "aws" {
72-
source = "github.com/terraform-linters/tflint-ruleset-aws"
73-
version = "0.21.1"
74-
75-
enabled = true
76-
deep_check = false
77-
}

0 commit comments

Comments
 (0)