Comprehensive validation library for Vue.js applications providing common validators with built-in error messages and customization options
87
{
"context": "This criteria evaluates how well the engineer uses Vuelidate's composition and reusability patterns to create shared validation logic across multiple profile types. The focus is on proper use of validators and composable patterns.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Uses required validator",
"description": "Correctly imports and uses the 'required' validator from @vuelidate/validators for username, email, password, confirmPassword, and age fields across both profile types",
"max_score": 15
},
{
"name": "Uses email validator",
"description": "Correctly imports and uses the 'email' validator from @vuelidate/validators for email validation in both personal and admin profiles",
"max_score": 15
},
{
"name": "Uses minValue validator",
"description": "Correctly imports and uses the 'minValue' validator from @vuelidate/validators with parameter 18 for age validation in personal profile",
"max_score": 15
},
{
"name": "Uses sameAs validator",
"description": "Correctly imports and uses the 'sameAs' validator from @vuelidate/validators to ensure confirmPassword matches password in admin profile",
"max_score": 15
},
{
"name": "Implements reusable patterns",
"description": "Creates shared validation logic that can be composed and reused across profile types, such as common field validators (e.g., username, email) that appear in both profiles",
"max_score": 20
},
{
"name": "Factory functions",
"description": "Implements factory functions (createPersonalProfileValidation and createAdminProfileValidation) that return properly structured validation rule objects for use with Vuelidate",
"max_score": 20
}
]
}Install with Tessl CLI
npx tessl i tessl/npm-vuelidate--validatorsdocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10