import { createValidator, required, email } from '../../utils/validation'

export default createValidator({
  name: [required],
  email: [required, email],
  phone_number: [required],
  slack_username: [required],
  github_username: [required],
  address: [required]
})

import { createValidator, required, email } from '../../utils/validation'

export default createValidator({
  name: [required],
  email: [required, email],
  gender: [required],
  year: [required],
  phone_number: [required],
  slack_username: [required],
  github_username: [required],
  address: [required]
})

Add validations for gender and year
Add validations for gender and year
