From 0ca9f98baf5820c2f6cd3d770d7e6cc61bdf8306 Mon Sep 17 00:00:00 2001 From: evgfilim1 Date: Thu, 5 Aug 2021 22:25:13 +0300 Subject: [PATCH] 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 --- .editorconfig | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/.editorconfig b/.editorconfig index 9a80d2d5..f519610f 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,23 +1,18 @@ root = true -[*] +[**] charset = utf-8 end_of_line = lf +indent_size = 4 +indent_style = space insert_final_newline = true trim_trailing_whitespace = true - -[*.py] -indent_style = space -indent_size = 4 max_line_length = 99 -[*.{yml, yaml}] -indent_style = space +[**.{yml,yaml}] indent_size = 2 -[*.{md,txt}] -indent_style = space -indent_size = 4 +[**.{md,txt,rst}] trim_trailing_whitespace = false [Makefile]