feat: skip DuplicateValuesValidator by default#74
Conversation
WalkthroughThe DuplicateValuesValidator is now disabled by default (opt-in). Changes include adding it to the default skip configuration, updating all affected tests to reflect the new default behavior, and documenting the opt-in mechanism with configuration examples across multiple formats. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes The changes are straightforward configuration and documentation updates, but affect multiple test files with coordinated expectation changes. Logic is simple, but the distributed scope across tests requires verification that all expectations align with the new default behavior. Possibly related PRs
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (6)
🧰 Additional context used🧬 Code graph analysis (3)tests/src/Config/ConfigFactoryTest.php (2)
src/Config/TranslationValidatorConfig.php (1)
tests/src/Config/TranslationValidatorConfigTest.php (2)
🪛 LanguageTooldocs/config-file.md[grammar] ~11-~11: There might be a mistake here. (QB_NEW_EN) docs/validators.md[grammar] ~88-~88: There might be a mistake here. (QB_NEW_EN) 🔇 Additional comments (8)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Note
The
DuplicateValuesValidatoris skipped by default to reduce noise in validation results.It can enable by explicitly including it in the
onlyoption or by setting an emptyskiparray.Summary by CodeRabbit
Documentation
Chores