Skip to content

Commit

Permalink
fix(pre-commit): shorten the names of the hooks for easier reading
Browse files Browse the repository at this point in the history
Shorten the names so they look better when pre-commit is running.
  • Loading branch information
greenkiwi committed May 17, 2023
1 parent 7c0d275 commit e38581a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-hooks.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
- id: vars-in-variables-files
name: "Ensure that all variables are defined in files that have the following name format: `variables[.grouping].tf`"
name: "Ensure variables are in `variables[.grouping].tf`"
description: "Errors if a variable is defined in a file that does not start with `variables.`"
entry: hooks/vars-in-variables-files/check
language: script
files: \.tf$
exclude: ^variables\..*\.tf$

- id: outputs-in-outputs-files
name: "Ensure that all outputs are defined in files that have the following name format: `outputs[.grouping].tf`"
name: "Ensure outputs are in `outputs[.grouping].tf`"
description: "Errors if a outputs is defined in a file that does not start with `outputs.`"
entry: hooks/outputs-in-outputs-files/check
language: script
Expand Down

0 comments on commit e38581a

Please sign in to comment.