diff options
author | sudoforge <no-reply@sudoforge.com> | 2025-05-11 01:37:25 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-11 01:37:25 -0700 |
commit | b4ad532150147c4ba8f8dfc04f99bad047c39f7c (patch) | |
tree | e182f3b75ce00c3d2823f705465e78fb68bf51f0 | |
parent | 89ff47a4ee5ccfc3f0c3ac2e5783b3cf15591ee6 (diff) | |
download | git-bug-b4ad532150147c4ba8f8dfc04f99bad047c39f7c.tar.gz git-bug-b4ad532150147c4ba8f8dfc04f99bad047c39f7c.zip |
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
-rw-r--r-- | .editorconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig index 66874fc85..8c9ed68c2 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 |