chore: add .editorconfig (#7369)

This commit is contained in:
Oliver Nordbjerg
2024-03-28 12:43:58 +01:00
committed by GitHub
parent 83cd848639
commit 33c466d88c

26
.editorconfig Normal file
View File

@ -0,0 +1,26 @@
# 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
[Makefile]
indent_style = tab
[]