add editorconfig

This commit is contained in:
Snowiiii committed 2024-10-14 23:56:34 +02:00
1 parent c111d6f54d
commit ffb0fcf4f0
3 files changed
+32 -6

No files matched your search

+27
View File
@@ -0,0 +1,27 @@
# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# editorconfig.org
root = true
[*]
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
indent_style = space
indent_size = 4
[*.rs]
max_line_length = 100
[*.md]
# double whitespace at end of line
# denotes a line break in Markdown
trim_trailing_whitespace = false
[*.yml]
indent_size = 2
[Makefile]
indent_style = tab