From e176836a65e26642b8835ebc69edf8b509cbad23 Mon Sep 17 00:00:00 2001 From: Shyue Ping Ong Date: Tue, 18 Jun 2024 22:26:33 -0700 Subject: [PATCH] Update editorconfig. --- .editorconfig | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.editorconfig b/.editorconfig index 32a321393a5..6cf8a243c21 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,4 +1,4 @@ -# top-most EditorConfig file +# https://editorconfig.org/ root = true # Unix-style newlines with a newline ending every file @@ -6,13 +6,11 @@ root = true end_of_line = lf insert_final_newline = true charset = utf-8 - -# 4 space indentation -[*.py] indent_style = space indent_size = 4 +trim_trailing_whitespace = true +max_line_length = 120 # Matches the exact files either package.json or .travis.yml [*.{json,yml,yaml}] -indent_style = space indent_size = 2