prefer_destroy
Updatedstyleoff until [lint] strict
delete part on a plain Instance, where destroy part says it.
Flux. delete covers every kind of cleanup: a connection, a thread, a scope, a signal, an Instance. On a plain Instance it runs the Destroy and nothing else, so the word promises more than the code does. destroy part names the one thing that happens, and destroy part after n puts it on a timer. The lint fires when the file shows the operand is an Instance and no scope holds anything for it. Off by default, since delete on an Instance is right: [lint.rules] prefer_destroy = "warn" turns it on, and alloy flux --fix rewrites the word.
Set its level in the [lint] table of alloy.toml, or for one file with --@alloy-lint.
