Idea detail
check_skip_targets
reqlan rq/core_analysis/check.rq:189
block
done
Summary
check omits an issue when the missing reference target matches a skip glob.
The analyser function `check_references` takes `skip_targets`: a list of globs.
Match uses the same path glob rules as `--glob`. Match is against the issue `label` ( the missing target ), not the source file.
An empty skip glob has no effect.
Use this when a referenced file is not in git and you name the skip glob.
For all Git ignore rules, use check_skip_gitignored_targets.
CLI: repeatable `--skip-target <glob>` ( commands ).
API: `AnalysisApi.check({ skipTargets })`.
Related: check_skip_targets check_skip_targets check_meta_implementation
Navigation
Attributes
| Key | Value |
|---|---|
| implementation | broken.rs, api.rs, lib.rs, native-analysis-api.ts, check.ts |
| status | done |
| tests | broken_references.rs:check_skips_targets_that_match_skip_globs, broken_references.rs:path_glob_matches_cursor_skip_glob, broken_references.rs:analysis_api_check_honours_skip_targets, check.test.ts:honours skip-target globs |
Ancestor context
No ancestor chain recorded.
Outbound references
Inbound references
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| references | commands | reqlan rq/cli/cli_package.rq | check_skip_targets |
| references | check | reqlan rq/core_analysis/check.rq | check_skip_targets |
| references | check_skip_gitignored_targets | reqlan rq/core_analysis/check.rq | check_skip_targets |
| references | check_unresolved_imports | reqlan rq/core_analysis/check.rq | check_skip_targets |
| references | check_meta_implementation | reqlan rq/core_analysis/check.rq | check_skip_targets |
| references | check | reqlan rq/core_analysis/core.rq | check_skip_targets |
Unresolved references
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| None | |||
Local graph
Initialising graph…