mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-03 18:13:36 +08:00
Configure editors to explicitly use LF / \n line endings (#10916)
This commit is contained in:
@@ -1,12 +1,14 @@
|
||||
root = true
|
||||
|
||||
[*.{py,pyi,rst,md,yml,yaml,toml,json,txt}]
|
||||
[*]
|
||||
trim_trailing_whitespace = true
|
||||
insert_final_newline = true
|
||||
indent_style = space
|
||||
end_of_line = lf
|
||||
indent_size = 2
|
||||
|
||||
[*.md]
|
||||
trim_trailing_whitespace = false
|
||||
|
||||
[*.{py,pyi,toml,json}]
|
||||
indent_size = 4
|
||||
|
||||
[*.{yml,yaml}]
|
||||
indent_size = 2
|
||||
|
||||
Reference in New Issue
Block a user