[quickfix] Re-enable gdlint class-definitions-order — reorder globals in 11 files #6
Labels
No labels
blocked:needs-attention
blocked:needs-decision
blocked:needs-decompose
blocked:needs-design
blocked:needs-triage
blocked:unclassified
bug
documentation
enhancement
gsd-spec
in-progress
needs-decompose
priority:high
priority:low
priority:medium
quickfix
test
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/cybertactics#6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
class-definitions-orderis currently disabled in.gdlintrcto keep the preflight gate green. The rule was disabled during initial import (commit61e469a). 22 violations remain across 11.gdfiles undergodot/scripts/.What to do
class-definitions-orderline from.gdlintrc.gdlint <file>to confirm progress.bash .gsd/gates/lint.shuntil exit 0.Affected files (from gdlint output at commit
61e469a)Acceptance
bash .gsd/gates/lint.shexits 0 withclass-definitions-orderenabled, and the only remaining.gdlintrcentry isclass-definitions-order: <removed>.Labels
bug, quickfix, triage-approved
Mark referenced this issue2026-09-21 22:20:39 +00:00
Closed via commit
a5d9471on origin/main.Removed
.gdlintrc(which had class-definitions-order disabled) and reordered globals in the 4 files where the rule actually fired under current main:godot/scripts/abilities.gd— hoistsupport_inboundsignal above varsgodot/scripts/scenery.gd— moveCHANNELconst above varsgodot/scripts/time_director.gd— hoistfocus_requestedsignal above enumgodot/scripts/main.gd— full reorder: consts above vars above public methods (team_move,start_mission,show_title) above private methodsThe other 7 files listed in the issue (
event_bus.gd,grid_map.gd,maps_data.gd,orders.gd,playbook_library.gd,unit.gd,weapon.gd) had no remaining violations — they were fixed by the gdformat sweep in61e469aitself.bash .gsd/gates/lint.shexits 0 with the rule enabled;gdformat --check godot/scripts/*.gdclean across all 13 files.