CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-vuelidate--validators

Comprehensive validation library for Vue.js applications providing common validators with built-in error messages and customization options

87

1.14x
Overview
Eval results
Files

rubric.jsonevals/scenario-7/

{
  "context": "This criteria evaluates how effectively an engineer uses @vuelidate/validators built-in validators to implement form validation rules for a user registration form. The focus is on correctly applying the appropriate validators (required, email, numeric, alphaNum, url, minValue, minLength, sameAs) to match the specified validation requirements.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Required validator",
      "description": "Uses the 'required' validator from @vuelidate/validators for username, email, age, password, and passwordConfirmation fields",
      "max_score": 20
    },
    {
      "name": "Email validator",
      "description": "Uses the 'email' validator from @vuelidate/validators to validate email field format",
      "max_score": 10
    },
    {
      "name": "Alphanumeric validator",
      "description": "Uses the 'alphaNum' validator from @vuelidate/validators to ensure username contains only alphanumeric characters",
      "max_score": 10
    },
    {
      "name": "Numeric validator",
      "description": "Uses the 'numeric' validator from @vuelidate/validators to ensure age field contains numeric values",
      "max_score": 10
    },
    {
      "name": "Minimum value validator",
      "description": "Uses the 'minValue' validator from @vuelidate/validators with parameter 18 to enforce minimum age requirement",
      "max_score": 10
    },
    {
      "name": "URL validator",
      "description": "Uses the 'url' validator from @vuelidate/validators to validate website field format when provided (optional field handling)",
      "max_score": 10
    },
    {
      "name": "Minimum length validator",
      "description": "Uses the 'minLength' validator from @vuelidate/validators with parameter 8 to enforce minimum password length",
      "max_score": 15
    },
    {
      "name": "Field matching validator",
      "description": "Uses the 'sameAs' validator from @vuelidate/validators to ensure passwordConfirmation matches the password field",
      "max_score": 15
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/npm-vuelidate--validators

tile.json