Repository navigation
fix(rules): declare all-noindex-pages optionsSchema in meta (#511) - #607
Conversation
|
Reviewed the diff. No blocking findings. Moving
🤖 Generated with Claude Code |
|
Reviewed the diff. The change is correct and I found no blocking issues. Moving
I didn't run the tests. |
Signed-off-by: Nik Cubrilovic <[email protected]>
68d3223 to
50adc1e
Compare
|
Reviewed the diff. The fix is correct:
The tests cover the defaults, the rejection of non-array values, and the unchanged warn and error escalation. |
Closes #511
crawl/all-noindex-pagesdeclaredoptionsSchemabesidemeta, so the runner never parsed it. Moved it intometaso defaults are applied and a wrong type is rejected. ThewarnOnPatterns/errorOnPatternsbehaviour is unchanged.Tests:
packages/rules/tests/all-noindex-pages.test.ts(fails before the fix on defaults and rejection, passes after).Agent skill change needed: no.