You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix: add skip list for index scanners to reduce false positives on entry-point files #447
Index scanners (unused-imports, dead-code) produce false positives on bundler entry-point and config files (e.g. vitest.config.ts, src/main.ts). These files have imports used by the bundler (Vite, Webpack) — not direct code references.
Solution
Add index_skip_files field to RulesConfig with sensible defaults for common entry-point patterns:
*.config.ts, *.config.js, *.config.mjs
src/main.ts, src/main.js, src/index.ts
Entry files used by bundlers
The skip list is applied in index_scanner.rs to filter out findings from matching files before returning results.
Scope
Patch RulesConfig — add index_skip_files: Vec<String> with defaults
Patch scan_unused_imports(), scan_dead_code_in_review(), scan_breaking_changes(), scan_project_index() — filter before push
Activity
fix: add skip list for index scanners to reduce false positives on en…
release: v0.11.1 → main (#450)