about summary refs log tree commit diff
path: root/.editorconfig
diff options
context:
space:
mode:
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
index df38fb8..23bf486 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -46,6 +46,11 @@ end_of_line = lf
 insert_final_newline = true
 charset = utf-8
 
+[*.graphql]
+indent_style = spaces
+indent_size = 2
+trim_trailing_whitespace = true
+
 [*.rs]
 indent_style = spaces
 indent_size = 4