UNPKG

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