34 lines
1.1 KiB
JavaScript
34 lines
1.1 KiB
JavaScript
/**
|
|
* Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
|
|
*
|
|
* This source code is licensed under the BSD-style license found in the
|
|
* LICENSE file in the root directory of this source tree. An additional grant
|
|
* of patent rights can be found in the PATENTS file in the same directory.
|
|
*
|
|
*
|
|
*/
|
|
|
|
'use strict';var _require =
|
|
|
|
|
|
|
|
require('./deprecated');const deprecationWarning = _require.deprecationWarning;var _require2 =
|
|
require('./warnings');const unknownOptionWarning = _require2.unknownOptionWarning;var _require3 =
|
|
require('./errors');const errorMessage = _require3.errorMessage;
|
|
const exampleConfig = require('./exampleConfig');
|
|
const validationCondition = require('./condition');var _require4 =
|
|
require('./utils');const ERROR = _require4.ERROR,DEPRECATION = _require4.DEPRECATION,WARNING = _require4.WARNING;
|
|
|
|
module.exports = {
|
|
comment: '',
|
|
condition: validationCondition,
|
|
deprecate: deprecationWarning,
|
|
deprecatedConfig: {},
|
|
error: errorMessage,
|
|
exampleConfig,
|
|
title: {
|
|
deprecation: DEPRECATION,
|
|
error: ERROR,
|
|
warning: WARNING },
|
|
|
|
unknown: unknownOptionWarning }; |