reqlanOverviewIdeasFilesCode filesClustersAttributesGraphPrint

Printable idea sheet

check_skip_gitignored_targets

reqlan rq/core_analysis/check.rq:215

Katz 0.445

check omits a file reference issue when Git ignore rules ignore the missing target.
The analyser function `check_references` takes `skip_gitignored_targets` ( default false ).
Match uses the workspace .gitignore and nested `.gitignore` files on the target path.
Match uses the resolved path from the workspace root, not the authored path in the source file.
Idea references, comment references, and missing imported idea names stay in the issue list.
Missing import paths follow the same skip as file references ( check_unresolved_imports ).
Use this when a referenced file is build output or editor config that git does not store.
Examples: `.cursor/` for mcp, and `packages/extension/media/webviews/` for installation_event.
CLI: `--skip-gitignored-targets` ( commands ).
API: `AnalysisApi.check({ skipGitignoredTargets })`.
CI: ci.yml and azure-pipelines.yml pass `--skip-gitignored-targets` because a CI checkout does not contain gitignored files ( check_meta_implementation ).
Related: check_skip_gitignored_targets check_skip_targets check_skip_gitignored_targets check_skip_gitignored_targets

implementation
broken.rs, ignore.rs, api.rs, lib.rs, native-analysis-api.ts, check.ts, ci.yml, azure-pipelines.yml
status
done
tests
broken_references.rs:check_skips_gitignored_file_targets, ignore.rs:workspace_gitignore_matches_root_and_nested_rules, broken_references.rs:analysis_api_check_honours_skip_gitignored_targets, check.test.ts:honours skip-gitignored-targets, release-ci-gate.test.ts:CI check skips gitignored targets, broken_references.rs:check_skips_gitignored_import_paths

Interactive page: check_skip_gitignored_targets