configure editor defaults

This commit is contained in:
lpm0073 2022-05-14 13:06:49 -05:00
parent 5d61794e4a
commit 66ef23c480
2 changed files with 2 additions and 6 deletions

View File

@ -3,16 +3,12 @@ root = true
[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_size = 4
indent_style = space
insert_final_newline = true
max_line_length = 80
trim_trailing_whitespace = true
[*.{tf,tfvars}]
indent_size = 2
indent_style = space
[*.md]
max_line_length = 0
trim_trailing_whitespace = false

View File

@ -5,7 +5,7 @@
#
# date: mar-2022
#
# usage: Runs terraform fmt -recursive
# usage: run all pre-commit checks.
#------------------------------------------------------------------------------
pre-commit run --all-files