Summary
Add per-analyzer settings schemas and pass validated settings into analyzer execution. Core should render/persist settings later, but the CLI must own validation and record effective scan settings for reproducibility.
Why
Settings are currently scattered: .vcqa.json can enable/disable checks and ignore paths, while view-specific thresholds live elsewhere. Framework analyzers need configurable behavior without hardcoding settings into pages or runners.
Tasks
Acceptance criteria
- An analyzer can declare a typed/defaulted setting without custom config parsing.
.vcqa.json and package.json#vcqa can override analyzer settings.
- Reports contain enough effective-setting data to explain why a result was produced.
- No app UI changes are required in this issue.
Related
Summary
Add per-analyzer settings schemas and pass validated settings into analyzer execution. Core should render/persist settings later, but the CLI must own validation and record effective scan settings for reproducibility.
Why
Settings are currently scattered:
.vcqa.jsoncan enable/disable checks and ignore paths, while view-specific thresholds live elsewhere. Framework analyzers need configurable behavior without hardcoding settings into pages or runners.Tasks
AnalyzerSettingsSchemashape, likely JSON-schema-compatible enough for the app to render later.VcqaConfig.checks[checkName]to accept asettingsobject while preservingenabledandignore.AnalyzerContext.Acceptance criteria
.vcqa.jsonandpackage.json#vcqacan override analyzer settings.Related