module

Ignorelint::Checks::SlugignoreSemantics

Semantic checks specific to slugignore files.

Instance methods

check(pat : Pattern) : Array(Issue)

Check a single pattern for slugignore-specific issues.

Checks:

  • IG-013: Negation (!) is not supported in slugignore. Heroku's slug compiler does not understand the ! prefix — the pattern "!important.txt" would be treated as a literal filename, not a re-inclusion rule.