Skip to content

Respect ignore files and add path exclusions - #5

Merged
kasperjunge merged 3 commits into
mainfrom
feat/ignore-paths
Oct 3, 2026
Merged

kasperjunge merged 3 commits into
mainfrom
feat/ignore-paths

Conversation

@kasperjunge

Copy link
Copy Markdown
Contributor

ryni check . currently scans ignored dependencies and build output. Respect .gitignore, .ignore, repository excludes, and global Git excludes using the ignore walker. Preserve discovery of hidden skill directories unless ignored, and keep skipping nested symlinks.

Add --no-ignore and repeatable --exclude <GLOB> options. Explicit exclusions still apply with --no-ignore; links into excluded directories continue to resolve normally. Document scan scope, glob semantics, and the effect of global excludes on local versus CI coverage.

Validation: 33 tests pass on macOS, including nested ignore files, negation, global excludes, both CLI options, and links into excluded directories; formatting and Clippy pass. The combined implementation retained identical findings across all 15 benchmark repositories.

Closes #3.

@kasperjunge
kasperjunge merged commit 5b1b7be into main Oct 3, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support ignoring paths (respect .gitignore and/or --exclude)

1 participant