Spyglass
Spyglass copied to clipboard
Comments to disable lint on the next line
Suggested by NeunEinser at here.
Syntax (might change):
#disablelint next <rules>|*
#disablelint start <rules>|*
#disablelint end
Examples:
#disablelint next blockStateSortKeys
setblock ~ ~ ~ chest[type=right, facing=north]
By using a universal LintRegistry
, we can also fix issues like #534.
I thought it would be even more convenient to be able to specify the number of lines that could be invalidated