~/bend-docscommunity

src/finding.bend fails

raw source on the hub · import 0xde9bb08f7de298b03207fb5797ede9a5/src/finding.bend as Finding

src/finding: what a rule reports. Shown as path:line:col: level: CODE: message (line and col 1-based, as editors count; CODE is the stable id in src/codes.bend), so a terminal can jump to it; an editor gets it as a diagnostic over len characters from the column (0: to the end of the line), with that code and source bolt(group:slug). The level is the project's (bolt.bend), not the rule's: a rule only finds. rule on a finding is still the slug.

3 imports
import Base
import ./config.bend as Config
import ./codes.bend as Codes