Ignorelint::NullFormatLinter
Inherits Ignorelint::FormatLinter < Struct < Value < Object
A no-op linter for unsupported file types.
When the file type is Unknown (or any type without a registered linter),
FormatLinterRegistry returns this. All checks pass without producing
issues, so only universal rules apply.
Constructors
new
Instance methods
check_pattern(pat : Pattern) : Array(Issue)
Check a single pattern for format-specific issues.
Returns an array of Issue values (empty if the pattern is clean for
this format). Called once per active (non-blank, non-comment) pattern.
check_patterns(patterns : Array(Pattern), issues : Array(Issue)) : Nil
Check the full pattern list for cross-pattern issues.
Used for conflict detection (e.g. "build" followed by "!build").
Mutates the issues array in place for efficiency.
initialize