redundant-pattern
What it does
Section titled “What it does”Reports a foo/ or /foo pattern that follows a plain foo, with no ! pattern between them: a name pattern already matches files and directories called foo at every level.
Why it matters
Section titled “Why it matters”The later pattern adds nothing, and a reader may think it is more specific than the first.
To fix, delete the later pattern.
Example
Section titled “Example”build/build/out/bin!bin...Configuration
Section titled “Configuration”gitignore: lint: rules: redundant-pattern: warn # off (default), warn, errorSuppress one line with sudsy-disable-next-line redundant-pattern in a comment of the file’s language.