use EditorConfig

This commit is contained in:
Alexander Popov 2021-07-25 15:32:55 +03:00
parent f6f3a653df
commit f637a97fc2
3 changed files with 17 additions and 4 deletions

14
.editorconfig Normal file
View File

@ -0,0 +1,14 @@
# 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
[{*.json,config.json.example}]
indent_style = tab
indent_size = 4

1
.gitignore vendored
View File

@ -1,4 +1,3 @@
env
*.json *.json
*.csv *.csv
*.pyc *.pyc