Add .editorconfig file (#6771)

This commit is contained in:
Nikita Sobolev
2022-01-01 15:31:10 +03:00
committed by GitHub
parent 6da5eb2d04
commit 764abe8cff

12
.editorconfig Normal file
View File

@@ -0,0 +1,12 @@
root = true
[*.{py,pyi,rst,md,yml,yaml,toml,json}]
trim_trailing_whitespace = true
insert_final_newline = true
indent_style = space
[*.{py,pyi,toml,json}]
indent_size = 4
[*.{yml,yaml}]
indent_size = 2