struct

Ignorelint::SlugignoreStyleLinter

Inherits Ignorelint::FormatLinter < Struct < Value < Object

The linter adapter for slugignore files.

Combines:

  1. CommonGlob.check — shared glob-validity rules
  2. SlugignoreSemantics.check — negation-not-supported check

Does NOT use Conflicts.check because slugignore has no negation support.

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

No cross-pattern conflict detection — slugignore has no negation.

initialize