Merge pull request #96965 from Repiteo/style/gdscript-editorconfig

Style: Consolidate & migrate GDScript `.editorconfig`
This commit is contained in:
Rémi Verschelde 2024-09-16 13:35:25 +02:00
commit 41066484ff
No known key found for this signature in database
GPG Key ID: C3336907360768E1
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