2021-01-22 16:51:23 +08:00
|
|
|
# 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
|
2023-07-11 06:18:36 +08:00
|
|
|
|
|
|
|
[*.rs]
|
2023-04-08 07:22:03 +08:00
|
|
|
max_line_length = 100
|
2021-01-22 16:51:23 +08:00
|
|
|
|
|
|
|
[*.md]
|
|
|
|
# double whitespace at end of line
|
|
|
|
# denotes a line break in Markdown
|
|
|
|
trim_trailing_whitespace = false
|
|
|
|
|
|
|
|
[*.yml]
|
|
|
|
indent_size = 2
|
2023-04-12 08:33:29 +08:00
|
|
|
|
|
|
|
[Makefile]
|
|
|
|
indent_style = tab
|