chore: add .editorconfig

Signed-off-by: Matthew Penner <me@matthewp.io>
This commit is contained in:
Matthew Penner 2025-03-09 19:26:32 -06:00
parent a4ff433d95
commit 91ed7f25e1
No known key found for this signature in database

21
.editorconfig Normal file
View File

@ -0,0 +1,21 @@
root = true
[*]
indent_style = tab
indent_size = 4
tab_width = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.go]
max_line_length = 100
[*.md]
trim_trailing_whitespace = false
[*.{md,nix,yaml}]
indent_style = space
indent_size = 2
tab_width = 2