add EditorConfig

This commit is contained in:
Alexander Popov 2021-07-23 12:21:58 +03:00
parent c075f4b6db
commit 5c93b4340e
Signed by: iiiypuk
GPG Key ID: 398FC73478D97286
1 changed files with 36 additions and 0 deletions

36
.editorconfig Normal file
View File

@ -0,0 +1,36 @@
# EditorConfig is awesome: https://EditorConfig.org
root = true
[*]
indent_style = space
indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.{js,py}]
charset = utf-8
[*.py]
indent_style = space
indent_size = 4
[*.cr]
indent_style = space
indent_size = 2
[{*.html,*.css}]
indent_style = tab
indent_size = 4
[Makefile]
indent_style = tab
[lib/**.js]
indent_style = space
indent_size = 2
[{package.json}]
indent_style = space
indent_size = 2