Add .editorconfig based on the Rust language repository

This commit is contained in:
Gergő Sályi 2024-09-30 20:19:42 +02:00
parent 0749c9df34
commit 736bbf2be1

19
.editorconfig Normal file
View file

@ -0,0 +1,19 @@
root = true
[*]
charset = utf-8
end_of_line = lf
indent_size = 4
indent_style = space
insert_final_newline = true
max_line_length = 80
trim_trailing_whitespace = true
[*.md]
trim_trailing_whitespace = false
[*.yml]
indent_size = 2
[Makefile]
indent_style = tab