exampleConfig.js 792 B

123456789101112131415161718192021222324252627282930313233343536
  1. 'use strict';
  2. Object.defineProperty(exports, '__esModule', {
  3. value: true
  4. });
  5. exports.default = void 0;
  6. /**
  7. * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
  8. *
  9. * This source code is licensed under the MIT license found in the
  10. * LICENSE file in the root directory of this source tree.
  11. */
  12. const config = {
  13. comment: ' A comment',
  14. condition: () => true,
  15. deprecate: () => false,
  16. deprecatedConfig: {
  17. key: () => 'Deprecation message'
  18. },
  19. error: () => {},
  20. exampleConfig: {
  21. key: 'value',
  22. test: 'case'
  23. },
  24. recursive: true,
  25. recursiveDenylist: [],
  26. title: {
  27. deprecation: 'Deprecation Warning',
  28. error: 'Validation Error',
  29. warning: 'Validation Warning'
  30. },
  31. unknown: () => {}
  32. };
  33. var _default = config;
  34. exports.default = _default;