Skip to main content

Module config

Module config 

Source

Structs§

Config
InterfaceConfig
ParserConfig
Configuration for a single parser under [parsers]. Supports shorthand (markdown = true) and expanded table form ([parsers.markdown] with fields). Parser-specific options go under [parsers.<name>.options] and are passed through to the parser.
RuleConfig
Configuration for a single rule under [rules]. Supports shorthand (cycle = "warn") and table form ([rules.orphan]).

Enums§

RuleSeverity

Functions§

compile_globs
Compile a list of glob patterns into a GlobSet. Returns None if patterns is empty.