summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--.editorconfig8
1 files changed, 8 insertions, 0 deletions
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