all files / src/ index.js

100% Statements 53/53
100% Branches 4/4
100% Functions 1/1
100% Lines 16/16
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40                                                  
import React from 'react'
 
import absence from './absence'
import acceptance from './acceptance'
import addValidator from './add-validator'
import confirmation from './confirmation'
import date, { parseDate, formatDate } from './date'
import email, { REG_EMAIL } from './email'
import format from './format'
import inclusion from './inclusion'
import exclusion from './exclusion'
import length from './length'
import numericality from './numericality'
import presence from './presence'
import url, { REG_URL } from './url'
 
import { DEFAULT_ALLOW_BLANK } from './helpers'
 
let required = presence // alias
 
export {
  absence,
  acceptance,
  addValidator,
  confirmation,
  date, parseDate, formatDate,
  email, REG_EMAIL,
  exclusion,
  format,
  inclusion,
  length,
  numericality,
  presence,
  required,
  url, REG_URL,
  DEFAULT_ALLOW_BLANK
}