chore(dev): 🔧 add editconfig file

This commit is contained in:
alistair3149 2024-06-01 15:02:08 -04:00
parent 4a43280242
commit c17e6a9770
No known key found for this signature in database

26
.editorconfig Normal file
View file

@ -0,0 +1,26 @@
root = true
[*]
indent_style = tab
indent_size = tab
tab_width = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
# Ensure text editors don't turn leading spaces into tabs,
# e.g. in multi-line bullet list items
[*.md]
indent_style = space
indent_size = 2
# Tabs may not be valid YAML
# @see https://yaml.org/spec/1.2/spec.html#id2777534
[*.{yml,yaml}]
indent_style = space
indent_size = 2
[.git/**]
indent_style = space
indent_size = 2