Spyglass icon indicating copy to clipboard operation
Spyglass copied to clipboard

Comments to disable lint on the next line

Open SPGoding opened this issue 4 years ago • 2 comments

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.

SPGoding avatar Jun 12 '20 04:06 SPGoding

I thought it would be even more convenient to be able to specify the number of lines that could be invalidated

ChenCMD avatar Jun 17 '20 05:06 ChenCMD