def too_wide

bolt@1.27.0.0 · src/rules/style/space.bend:46

import bolt@1.27.0.0/src/rules/style/space.bend as Space
import Base
import bolt@1.27.0.0/src/finding.bend as F

46# a finding when the width is over 120
47def too_wide(+width: U32, +path: String, +nn: U32, +more: List<&2, F.Finding>) -> List<&2, F.Finding>:
48  Bool.pick(List<&2, F.Finding>, U32.is_gt(width, 120),
49    F.Finding{path, nn, 120, 0, "space", "Line is longer than 120 characters."} <> more, more)

Uses (6)

Used by (1)