Skip to main content

Module ctx

Module ctx 

Source

Structsยง

FileCtx ๐Ÿ”’
Per-file context passed to line rules with path, raw contents, and pre-split lines.
Violation ๐Ÿ”’
A single lint violation reported by a rule against a file location.

Functionsยง

violation ๐Ÿ”’
Construct a Violation without a rule tag. Use with_rule to attach one.