Nothing in the build sorts imports, so review keeps doing it #3
Loading…
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?
Import order has come up in two consecutive reviews of #2 and has been fixed by hand twice, in the touched files only. That is the wrong shape of fix: the next branch scrambles the next file, and a reviewer spends a line on it again.
A formatter ends the category. Two options, and the difference matters:
importOrder()only — sorts imports and touches nothing else. Small rule, small reflow, and it covers exactly what review keeps catching.Either way the first commit is a repo-wide reformat, which is why it was deliberately left out of #2: burying a mechanical diff over every file in an approved feature branch makes both harder to read. It wants its own PR that does nothing else.
Whichever is chosen, it needs a
spotlessCheck(orktlintCheck) step in.forgejo/workflows/build.ymlbeside thelintDebugstep #2 added — a formatter nothing runs is the same as no formatter.