From b4ad532150147c4ba8f8dfc04f99bad047c39f7c Mon Sep 17 00:00:00 2001 From: sudoforge <no-reply@sudoforge.com> Date: Sun, 11 May 2025 01:37:25 -0700 Subject: [PATCH] feat(dev-infra): improve //:.editorconfig alignment with formatters (#1409) This change updates //:.editorconfig to improve the alignment between its configuration settings and the output from formatters, in an effort to reduce format cycles during iteration. Change-Id: I8e1af63a961bc8ca29d8b4a41f80ae7251a96f26 --- .editorconfig | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.editorconfig b/.editorconfig index 66874fc8..8c9ed68c 100644 --- a/.editorconfig +++ b/.editorconfig @@ -4,5 +4,13 @@ root = true [*] end_of_line = lf +indent_size = 4 +indent_style = space insert_final_newline = true trim_trailing_whitespace = true + +[*.{graphql,js,json,nix,ts,tsx,yaml,yml}] +indent_size = 2 + +[{Makefile,go.mod,go.sum,*.go}] +indent_style = tab -- GitLab