Improve .editorconfig (#658)

* Improve .editorconfig

This is a continuation of https://github.com/aiogram/aiogram/pull/653#pullrequestreview-721944497

* Fix wildcard

* Fixes from review comments
This commit is contained in:
evgfilim1 2021-08-05 22:25:13 +03:00 committed by GitHub
parent 058d858607
commit 0ca9f98baf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,23 +1,18 @@
root = true root = true
[*] [**]
charset = utf-8 charset = utf-8
end_of_line = lf end_of_line = lf
indent_size = 4
indent_style = space
insert_final_newline = true insert_final_newline = true
trim_trailing_whitespace = true trim_trailing_whitespace = true
[*.py]
indent_style = space
indent_size = 4
max_line_length = 99 max_line_length = 99
[*.{yml, yaml}] [**.{yml,yaml}]
indent_style = space
indent_size = 2 indent_size = 2
[*.{md,txt}] [**.{md,txt,rst}]
indent_style = space
indent_size = 4
trim_trailing_whitespace = false trim_trailing_whitespace = false
[Makefile] [Makefile]