Style: Consolidate & migrate GDScript .editorconfig

• Moved to test project root so a new `.editorconfig` isn't constantly generated.
• Disable attributes only in the files which use invalid syntax deliberately
This commit is contained in:
Thaddeus Crews 2024-09-13 10:11:59 -05:00
parent 74de05a01c
commit bf811db6c8
No known key found for this signature in database
GPG Key ID: 62181B86FE9E5D84
3 changed files with 12 additions and 7 deletions

View File

@ -1,8 +1,3 @@
[*.gd]
indent_style = tab
indent_size = 4
insert_final_newline = true
trim_trailing_whitespace = true
[*.out]
insert_final_newline = true

View File

@ -0,0 +1,12 @@
# This file is required to workaround `.editorconfig` autogeneration (see #96845).
# Some tests handle invalid syntax deliberately; exclude relevant attributes.
[parser/features/mixed_indentation_on_blank_lines.gd]
trim_trailing_whitespace = false
[parser/warnings/empty_file_newline.notest.gd]
insert_final_newline = false
[parser/warnings/empty_file_newline_comment.notest.gd]
insert_final_newline = false

View File

@ -1,2 +0,0 @@
[*.{gd,out}]
trim_trailing_whitespace = false