Repository navigation
fix(rules): enable explicit gap opt-ins - #1117
WilliamK112 wants to merge 1 commit into
Conversation
|
Thanks, the opt-in selection looks right and the parity test is a good call. Two things before merge:
Optional: make the registry argument of |
b3eed12 to
00eb808
Compare
|
Addressed at current head 00eb808: reconstruction now loads opt-in rule metadata and a stored |
Signed-off-by: Ching-Wei Kang <[email protected]>
00eb808 to
9599fe5
Compare
|
Merged: landed in the v0.0.134 batch (#1149), main commits 06b9a3b. Thank you @WilliamK112, tracing the opt-in check through the runner, both cloud selectors, the preflight and the probes, then fixing the report rebuild and the docs examples that would have dropped every other rule, was thorough. (Nik) |
Summary
gaps/keywordsandgaps/contentout of the defaultenable = ["*"]selection while allowing exact rules,gaps/*,--rule-include gaps, and per-ruleenabled = trueto select themCloses #1067
Verification
npx --yes [email protected] test packages/rules/tests/filter-opt-in.test.ts packages/rules/tests/opt-in-rules.test.ts apps/cli/tests/audit/rule-options-preflight.test.ts— 15 passednpx --yes --package @typescript/[email protected] tsgo --noEmit -p packages/rules/tsconfig.json— passedgit diff --check— passedChecklist
Signed-off-byline (git commit -s).Docs:
docs/cloud/rules.mdxanddocs/rules/gaps/index.mdx. Skill: none.