summaryrefslogtreecommitdiff
path: root/tools/eslint/node_modules/js-yaml/lib/js-yaml/schema/core.js
diff options
context:
space:
mode:
Diffstat (limited to 'tools/eslint/node_modules/js-yaml/lib/js-yaml/schema/core.js')
-rw-r--r--tools/eslint/node_modules/js-yaml/lib/js-yaml/schema/core.js18
1 files changed, 18 insertions, 0 deletions
diff --git a/tools/eslint/node_modules/js-yaml/lib/js-yaml/schema/core.js b/tools/eslint/node_modules/js-yaml/lib/js-yaml/schema/core.js
new file mode 100644
index 0000000000..206daab56c
--- /dev/null
+++ b/tools/eslint/node_modules/js-yaml/lib/js-yaml/schema/core.js
@@ -0,0 +1,18 @@
+// Standard YAML's Core schema.
+// http://www.yaml.org/spec/1.2/spec.html#id2804923
+//
+// NOTE: JS-YAML does not support schema-specific tag resolution restrictions.
+// So, Core schema has no distinctions from JSON schema is JS-YAML.
+
+
+'use strict';
+
+
+var Schema = require('../schema');
+
+
+module.exports = new Schema({
+ include: [
+ require('./json')
+ ]
+});