export default {
  email: email => /^.+@.+\..+$/.test(email),
  password: pass => /^(?=.{8,}).*$/.test(pass),
  confirmPassword: () => true,
  username: username => /^[a-zA-Z0-9_]+$/.test(username),
  organizationName: org => /^[a-zA-Z0-9_ ]+$/.test(org),
};
