module

Ignorelint::Checks::PrettierignoreSemantics

Semantic checks specific to prettierignore files.

Constants

BUILTIN_EXCLUDES = {".git", ".svn", ".hg", "node_modules"}

Directories always excluded by Prettier, regardless of .prettierignore.

See: https://prettier.io/docs/en/ignore.html

Instance methods

check(pat : Pattern) : Array(Issue)

Check a single pattern for prettierignore-specific issues.

Checks:

  • IG-018: Pattern duplicates a built-in exclude (redundant)