--@alloy-ignore-start and --@alloy-ignore-end
UpdatedSilences every line between the pair. The two directive lines are outside the region, so an error on either still reports. A lint name or a checker kind after --@alloy-ignore-start limits the region to that one; every other diagnostic in it still reports.
--@alloy-ignore-start prefer_const local a = 1 local b = 2 --@alloy-ignore-end print(a, b)
Pairs nest, and the inner one closes first. --@alloy-ignore-end with a name closes the innermost start with that name. A start with no end silences to the end of the file and is a DirectiveError on its own line; an end that closes nothing is a DirectiveError too.
--@alloy-expect-errorSilences a line the way
--@alloy-ignore does, and is an error itself when that line comes clean.--@alloy-nocheckSilences every diagnostic in the file, on any line: the compiler's, the lints, and the checker's.--@alloy-lintSets a lint's level for one file, over the [lint] table of alloy.toml.--@alloy-preserveKeeps alloy flux --fix and the editor's quick fix off one line.