pub fn detect_binary_for_rules(
utf16: bool,
rules: &[Box<dyn Rule>],
config: &Config,
path: Option<&Path>,
) -> Option<LintWarning>Expand description
The finding for a binary input, if the invocation reports MD094 for it.
rules is the invocation’s effective rule set, so configuration and CLI
rule selection (--disable, --enable) both apply; per-file-ignores and
severity are read from config. Binary input is never parsed, so inline
comments cannot suppress this finding.