oanhnn the ConfigureValidator has two properties:
You can add new rules by using the second one:
if ($event->type instanceof \Flarum\Core\Validator\PostValidator) {
$event->validator->mergeRules('content', [
'min:100'
]);
}
The above will add the minimum requirement of 100 characters for posts.