mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-18 02:38:28 +00:00
e05e477450
Editorconfig is a lightweight specification that helps maintaining consistent coding/formatting style accross editors, especially those editors that are not explicitly aware of Rust and rustfmt. https://editorconfig.org/
21 lines
417 B
INI
21 lines
417 B
INI
# 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
|
|
|
|
[*.md]
|
|
# double whitespace at end of line
|
|
# denotes a line break in Markdown
|
|
trim_trailing_whitespace = false
|
|
|
|
[*.yml]
|
|
indent_size = 2
|