- Added: New option
onlyIf
to the validation rule config allowing to specify conditions that must be met for the rule to be applied. See the docs or examples. - Fixed: Unified text validation description in running
promruval validate
andpromruval validation-docs -o text
- Fixed: Some minor validations descriptions fixes
- Fixed: In the validation description use
Rule
instead ofAll rules
for the all rules scope - Refactor: Improve unmarshaling, validation and defaults for regexp params of validators