aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikita Sobolev <mail@sobolevn.me>2022-01-01 15:40:16 +0300
committerGitHub <noreply@github.com>2022-01-01 13:40:16 +0100
commitfbd81cd5e0a4061102e2b93de38cf8e0e63ad6bc (patch)
tree30b27d3224afc6d0cfc2514d02c746c0a2209444
parent45895708e2afcef001650f7565e119a9d650f3d7 (diff)
downloadtyping-fbd81cd5e0a4061102e2b93de38cf8e0e63ad6bc.tar.gz
Create .editorconfig (#998)
-rw-r--r--.editorconfig12
1 files changed, 12 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..26fb670
--- /dev/null
+++ b/.editorconfig
@@ -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