~/bend-docscommunity

bolt/rules/style/doc.bend fails

raw source on the hub · import 0x729eecea86ea5a2cdba3a2856a313bca/bolt/rules/style/doc.bend as Doc

rule doc: every top-level def, type and law has a comment block right above it. Helpers (dotted names like show.go) ride on their parent's doc, main needs none, PROOF.bend fills laws that LAWS.bend already documents, and a test (under tests/) is documented by its header and its check names.

5 imports
import Base
import ../../src.bend as Src
import ../../finding.bend as F
import ../../../syntax/outline.bend as Outline
import ../../../lazy/lazy.bend as Lazy