From 89f7debc854147c81635e79e02a88cfc19c9b2c9 Mon Sep 17 00:00:00 2001 From: Oleg A Date: Tue, 3 Aug 2021 23:10:18 +0300 Subject: [PATCH] Add `.editorconfig` support (#653) * feat: add .editorconfig support * Added record to changes list Co-authored-by: Alex Root Junior --- .editorconfig | 24 ++++++++++++++++++++++++ CHANGES/650.misc | 1 + 2 files changed, 25 insertions(+) create mode 100644 .editorconfig create mode 100644 CHANGES/650.misc diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..9a80d2d5 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,24 @@ +root = true + +[*] +charset = utf-8 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true + +[*.py] +indent_style = space +indent_size = 4 +max_line_length = 99 + +[*.{yml, yaml}] +indent_style = space +indent_size = 2 + +[*.{md,txt}] +indent_style = space +indent_size = 4 +trim_trailing_whitespace = false + +[Makefile] +indent_style = tab diff --git a/CHANGES/650.misc b/CHANGES/650.misc new file mode 100644 index 00000000..513270ef --- /dev/null +++ b/CHANGES/650.misc @@ -0,0 +1 @@ +Added `.editorconfig`