index.js 331 B

123456789101112131415
  1. import required from './required';
  2. import whitespace from './whitespace';
  3. import type from './type';
  4. import range from './range';
  5. import enumRule from './enum';
  6. import pattern from './pattern';
  7. export default {
  8. required: required,
  9. whitespace: whitespace,
  10. type: type,
  11. range: range,
  12. 'enum': enumRule,
  13. pattern: pattern
  14. };