defaultConfig.js 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. 'use strict';
  2. Object.defineProperty(exports, '__esModule', {
  3. value: true
  4. });
  5. exports.default = void 0;
  6. var _condition = require('./condition');
  7. var _deprecated = require('./deprecated');
  8. var _errors = require('./errors');
  9. var _utils = require('./utils');
  10. var _warnings = require('./warnings');
  11. /**
  12. * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
  13. *
  14. * This source code is licensed under the MIT license found in the
  15. * LICENSE file in the root directory of this source tree.
  16. */
  17. const validationOptions = {
  18. comment: '',
  19. condition: _condition.validationCondition,
  20. deprecate: _deprecated.deprecationWarning,
  21. deprecatedConfig: {},
  22. error: _errors.errorMessage,
  23. exampleConfig: {},
  24. recursive: true,
  25. // Allow NPM-sanctioned comments in package.json. Use a "//" key.
  26. recursiveDenylist: ['//'],
  27. title: {
  28. deprecation: _utils.DEPRECATION,
  29. error: _utils.ERROR,
  30. warning: _utils.WARNING
  31. },
  32. unknown: _warnings.unknownOptionWarning
  33. };
  34. var _default = validationOptions;
  35. exports.default = _default;