ValidatorJS mendapatkan semua kesalahan

const afterValidation = new Validator(finalForm, validationRules);

if (afterValidation.fails()) {
  const errorList = afterValidation.errors.all();
}
florinrelea