Idea detail
check_skip_gitignored_targets
reqlan rq/core_analysis/check.rq:215
Summary
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
Navigation
Attributes
| Key | Value |
|---|---|
| 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 |
Ancestor context
No ancestor chain recorded.
Outbound references
Inbound references
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| references | commands | reqlan rq/cli/cli_package.rq | check_skip_gitignored_targets |
| references | check | reqlan rq/core_analysis/check.rq | check_skip_gitignored_targets |
| references | check_skip_targets | reqlan rq/core_analysis/check.rq | check_skip_gitignored_targets |
| references | check_unresolved_imports | reqlan rq/core_analysis/check.rq | check_skip_gitignored_targets |
| references | check_meta_implementation | reqlan rq/core_analysis/check.rq | check_skip_gitignored_targets |
| references | check | reqlan rq/core_analysis/core.rq | check_skip_gitignored_targets |
Unresolved references
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| None | |||
Local graph
Initialising graph…