style(editorconfig): add EditorConfig file for consistent style

Add an EditorConfig file to ensure all editors know how to edit files
correctly. Apply conservative settings based on the existing files. Rust
options are based on the defaults of `rustfmt`.
This commit is contained in:
Thomas Frans
2024-05-14 21:38:54 +02:00
committed by Henrik Friedrichsen
parent 1ffa03daaf
commit 8f6d53d646

13
.editorconfig Normal file
View File

@@ -0,0 +1,13 @@
root = true
[*]
indent_style = space
indent_size = 4
charset = utf-8
insert_final_newline = false
[*.rs]
max_line_length = 100
[*.md]
max_line_length = 100