summaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
authorAdam Scott <ascott.ca@gmail.com>2022-12-26 11:24:17 -0500
committerAdam Scott <ascott.ca@gmail.com>2023-01-10 12:25:35 -0500
commit44d1d72af19ff7874704fa88d7d08fe4f782c9db (patch)
tree11f91bb25d41576256c515818aa0d913b95c3374 /.editorconfig
parent91713ced81792b10fdc9367b7f355738e5d52777 (diff)
Add GDScript `.editorconfig` rules
- Uniformize `.gd` unit test files indentation to tabs (where needed)
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
index 92ee947a82..4bb7553b16 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -21,3 +21,13 @@ indent_size = 4
[*.{yml,yaml}]
indent_style = space
indent_size = 2
+
+# GDScript unit test files
+[*.gd]
+indent_style = tab
+indent_size = 4
+insert_final_newline = true
+trim_trailing_whitespace = true
+
+[*.out]
+insert_final_newline = true