Add GDScript .editorconfig rules

- Uniformize `.gd` unit test files indentation to tabs (where needed)
This commit is contained in:
Adam Scott
2022-12-26 11:24:17 -05:00
parent 91713ced81
commit 44d1d72af1
25 changed files with 232 additions and 222 deletions

View File

@@ -1,4 +1,5 @@
enum MyEnum { VALUE_A, VALUE_B, VALUE_C = 42 }
func test():
const P = preload("../features/enum_value_from_parent.gd")
var local_var: MyEnum

View File

@@ -1,12 +1,12 @@
class A:
class B:
func test():
print(A.B.D)
class B:
func test():
print(A.B.D)
class C:
class D:
pass
class D:
pass
func test():
var inst = A.B.new()
inst.test()
var inst = A.B.new()
inst.test()

View File

@@ -1,2 +1,2 @@
func test() -> void:
return null
return null

View File

@@ -1,4 +1,4 @@
func test() -> void:
var a
a = 1
return a
var a
a = 1
return a