diff options
| author | Rémi Verschelde <rverschelde@gmail.com> | 2024-09-16 13:35:25 +0200 |
|---|---|---|
| committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-09-16 13:35:25 +0200 |
| commit | 41066484ff66dc6d5225034f7664af951813b018 (patch) | |
| tree | 0eb214d9423393b84f6c457663e58712f619e13c /modules/gdscript/tests/scripts | |
| parent | 46d9db565bc8c8d9d14a51570ea788443afd5d1c (diff) | |
| parent | bf811db6c83dee6b3138c69d1dbc1a2adcc98f4e (diff) | |
| download | redot-engine-41066484ff66dc6d5225034f7664af951813b018.tar.gz | |
Merge pull request #96965 from Repiteo/style/gdscript-editorconfig
Style: Consolidate & migrate GDScript `.editorconfig`
Diffstat (limited to 'modules/gdscript/tests/scripts')
| -rw-r--r-- | modules/gdscript/tests/scripts/.editorconfig | 12 | ||||
| -rw-r--r-- | modules/gdscript/tests/scripts/parser/.editorconfig | 2 |
2 files changed, 12 insertions, 2 deletions
diff --git a/modules/gdscript/tests/scripts/.editorconfig b/modules/gdscript/tests/scripts/.editorconfig new file mode 100644 index 0000000000..da1efefe3c --- /dev/null +++ b/modules/gdscript/tests/scripts/.editorconfig @@ -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 diff --git a/modules/gdscript/tests/scripts/parser/.editorconfig b/modules/gdscript/tests/scripts/parser/.editorconfig deleted file mode 100644 index fa43b3ad78..0000000000 --- a/modules/gdscript/tests/scripts/parser/.editorconfig +++ /dev/null @@ -1,2 +0,0 @@ -[*.{gd,out}] -trim_trailing_whitespace = false |
