~/bend-docscommunity

layout/directive_order.bend fails

raw source on the hub · import bend-lint-rules@0.1.0.0/layout/directive_order.bend as Directive_order

layout/directive_order: directives that stack on consecutive comment-only lines, out of order: by rule, then severity, then keyword. Fix: writes them in that order, over the same comments. Heuristics: it reads the directives as written, and its fix writes the same comments over them, so a fix keeps the program.

4 imports
import Base
import ../lib/linter/directives.bend as Directives
import bend-lint-api@0.1.0.0/linter/lint.bend as Lint
import bend-lint-api@0.1.0.0/shared/lists.bend as Lists