func _physics_process(delta: float) -> void:
var direction: Vector3 = (transform.basis * Vector3(input_dir.x, 0, input_dir.y)).normalized()
I have set my maxLineLength to 80, but the second line above exceeds that length. The formatter does not try to break the line up, which causes the linter to complain about it.
Instead, you need to manually format your code to satisfy the linter:
func _physics_process(delta: float) -> void:
var direction: Vector3 = (
(transform.basis * Vector3(input_dir.x, 0, input_dir.y)).normalized()
)
gdscript-formatter should be able to automatically format this.
I have set my
maxLineLengthto80, but the second line above exceeds that length. The formatter does not try to break the line up, which causes the linter to complain about it.Instead, you need to manually format your code to satisfy the linter:
gdscript-formattershould be able to automatically format this.