Skip to content

Commit

Permalink
Create .editorconfig
Browse files Browse the repository at this point in the history
editorconfig to maintain consistent coding styles
  • Loading branch information
jensbin committed Oct 11, 2023
1 parent eb9735e commit 8630e7e
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# EditorConfig is awesome: http://EditorConfig.org
# Uses editorconfig to maintain consistent coding styles

# top-most EditorConfig file
root = true

# Unix-style newlines with a newline ending every file
[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
max_line_length = 80
trim_trailing_whitespace = true

[*.{tf,tfvars}]
indent_size = 4
indent_style = space

[*.{yaml,yml}]
indent_style = space
indent_size = 2
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true

[*.{md,adoc}]
max_line_length = 0
trim_trailing_whitespace = false

[COMMIT_EDITMSG]
max_line_length = 0

0 comments on commit 8630e7e

Please sign in to comment.