reqlanOverviewIdeasFilesCode filesClustersAttributesGraphPrint

Printable idea sheet

check_skip_targets

reqlan rq/core_analysis/check.rq:189

Katz 0.445

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

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

Interactive page: check_skip_targets