From 698594087c32d982cb5b8558bb8ba01984882a3b Mon Sep 17 00:00:00 2001 From: Zedifus Date: Wed, 23 Mar 2022 01:53:43 +0000 Subject: [PATCH] Amend editor config for black Also restructure, separate js and move to tabs Add md spec --- .editorconfig | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/.editorconfig b/.editorconfig index c6a6fff7..3a7dfa1d 100644 --- a/.editorconfig +++ b/.editorconfig @@ -2,15 +2,25 @@ root = true -[*.{js,py,html}] +[*] charset = utf-8 +end_of_line = lf +trim_trailing_whitespace = true insert_final_newline = true -# end_of_line = lf [*.py] -indent_style = space -indent_size = 4 +profile = black +# > Handled by Black +# indent_style = space +# indent_size = 4 -[*.{js,html}] +[*.md] +trim_trailing_whitespace = false + +[*.html] indent_style = space indent_size = 2 + +[*.js] +indent_style = tab +indent_size = 4