Skip to content

Commit

Permalink
fix: grep: warning: stray \ before / which pop-up in grep 3.8 (#625)
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxymVlasov committed Feb 16, 2024
1 parent 8bcd633 commit e1a93b2
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .pre-commit-hooks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
language: script
require_serial: true
files: \.(tf(vars)?|hcl)$
exclude: \.terraform\/.*$
exclude: \.terraform/.*$

- id: terraform_fmt
name: Terraform fmt
description: Rewrites all Terraform configuration files to a canonical format.
entry: hooks/terraform_fmt.sh
language: script
files: (\.tf|\.tfvars)$
exclude: \.terraform\/.*$
exclude: \.terraform/.*$

- id: terraform_docs
name: Terraform docs
Expand All @@ -22,7 +22,7 @@
entry: hooks/terraform_docs.sh
language: script
files: (\.tf|\.terraform\.lock\.hcl)$
exclude: \.terraform\/.*$
exclude: \.terraform/.*$

- id: terraform_docs_without_aggregate_type_defaults
name: Terraform docs (without aggregate type defaults)
Expand All @@ -31,7 +31,7 @@
entry: hooks/terraform_docs.sh
language: script
files: (\.tf)$
exclude: \.terraform\/.*$
exclude: \.terraform/.*$

- id: terraform_docs_replace
name: Terraform docs (overwrite README.md)
Expand All @@ -40,7 +40,7 @@
entry: terraform_docs_replace
language: python
files: (\.tf)$
exclude: \.terraform\/.*$
exclude: \.terraform/.*$

- id: terraform_validate
name: Terraform validate
Expand All @@ -49,7 +49,7 @@
entry: hooks/terraform_validate.sh
language: script
files: (\.tf|\.tfvars)$
exclude: \.terraform\/.*$
exclude: \.terraform/.*$

- id: terraform_providers_lock
name: Lock terraform provider versions
Expand All @@ -58,7 +58,7 @@
entry: hooks/terraform_providers_lock.sh
language: script
files: (\.terraform\.lock\.hcl)$
exclude: \.terraform\/.*$
exclude: \.terraform/.*$

- id: terraform_tflint
name: Terraform validate with tflint
Expand All @@ -67,23 +67,23 @@
entry: hooks/terraform_tflint.sh
language: script
files: (\.tf|\.tfvars)$
exclude: \.terraform\/.*$
exclude: \.terraform/.*$

- id: terragrunt_fmt
name: Terragrunt fmt
description: Rewrites all Terragrunt configuration files to a canonical format.
entry: hooks/terragrunt_fmt.sh
language: script
files: (\.hcl)$
exclude: \.terraform\/.*$
exclude: \.terraform/.*$

- id: terragrunt_validate
name: Terragrunt validate
description: Validates all Terragrunt configuration files.
entry: hooks/terragrunt_validate.sh
language: script
files: (\.hcl)$
exclude: \.terraform\/.*$
exclude: \.terraform/.*$

- id: terraform_tfsec
name: Terraform validate with tfsec (deprecated, use "terraform_trivy")
Expand All @@ -109,7 +109,7 @@
pass_filenames: false
always_run: false
files: \.tf$
exclude: \.terraform\/.*$
exclude: \.terraform/.*$
require_serial: true

- id: terraform_checkov
Expand All @@ -119,7 +119,7 @@
language: script
always_run: false
files: \.tf$
exclude: \.terraform\/.*$
exclude: \.terraform/.*$
require_serial: true

- id: terraform_wrapper_module_for_each
Expand All @@ -131,15 +131,15 @@
always_run: false
require_serial: true
files: \.tf$
exclude: \.terraform\/.*$
exclude: \.terraform/.*$

- id: terrascan
name: terrascan
description: Runs terrascan on Terraform templates.
language: script
entry: hooks/terrascan.sh
files: \.tf$
exclude: \.terraform\/.*$
exclude: \.terraform/.*$
require_serial: true

- id: tfupdate
Expand Down

0 comments on commit e1a93b2

Please sign in to comment.