From d2fabf65fa341811a9e4c5fad65011b1fef1207f Mon Sep 17 00:00:00 2001 From: Ross Goldberg <484615+rgoldberg@users.noreply.github.com> Date: Sat, 16 Nov 2024 05:29:13 -0500 Subject: [PATCH] Cleanup `.editorconfig`. Partial #638 Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com> --- .editorconfig | 44 ++++++++++++++++++-------------------------- 1 file changed, 18 insertions(+), 26 deletions(-) diff --git a/.editorconfig b/.editorconfig index 1f913cd..b31ebc0 100644 --- a/.editorconfig +++ b/.editorconfig @@ -2,38 +2,30 @@ root = true [*] -indent_style = space -indent_size = 4 -end_of_line = lf charset = utf-8 -trim_trailing_whitespace = true -insert_final_newline = true - -[script/*] -indent_size = 2 - -[*.{yml,yaml}] -indent_size = 2 - -# Use 2 spaces for Ruby files -[{Podfile,Rakefile,script/*,*.{podspec,rb,yml}}] -indent_size = 2 +end_of_line = lf +indent_size = 4 indent_style = space -max_line_length = 80 +insert_final_newline = true +trim_trailing_whitespace = true -# Use tabs for property lists -[*.plist] -indent_style = tab - -# JSON files contain newlines inconsistently [*.json] indent_size = 2 -insert_final_newline = ignore - -# Makefiles always use tabs for indentation -[Makefile] -indent_style = tab # Trailing spaces have meaning in Markdown [*.md] trim_trailing_whitespace = false + +[*.plist] +indent_style = tab + +[*.yml] +indent_size = 2 +max_line_length = 80 + +[Makefile] +indent_style = tab + +[script/*] +indent_size = 2 +max_line_length = 80