From #20503:
Not for now. --check-only just means that the editor will close as soon as it has loaded the script. A proper script validation tool would need to be implemented differently.
I couln't find an existing issue for a "proper script validation tool", so I'm opening this as an official feature request.
Basic features would include:
"Nice to have" features include:
I think --check-only currently satisfies the first 3 basic features, so the only thing missing is to not open a new instance of godot to lint every script (I'd like to check syntax automatically on saving a .gd file with neomake).
From #20503:
I couln't find an existing issue for a "proper script validation tool", so I'm opening this as an official feature request.
Basic features would include:
errorformat)"Nice to have" features include:
I think
--check-onlycurrently satisfies the first 3 basic features, so the only thing missing is to not open a new instance of godot to lint every script (I'd like to check syntax automatically on saving a .gd file with neomake).