mirror of
https://github.com/nodejs/node.git
synced 2025-08-19 08:51:03 +02:00

Greatly simplify how ESLint and its plugins are installed. PR-URL: https://github.com/nodejs/node/pull/53413 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
19 lines
523 B
JavaScript
19 lines
523 B
JavaScript
// Standard YAML's JSON schema.
|
|
// http://www.yaml.org/spec/1.2/spec.html#id2803231
|
|
//
|
|
// NOTE: JS-YAML does not support schema-specific tag resolution restrictions.
|
|
// So, this schema is not such strict as defined in the YAML specification.
|
|
// It allows numbers in binary notaion, use `Null` and `NULL` as `null`, etc.
|
|
|
|
|
|
'use strict';
|
|
|
|
|
|
module.exports = require('./failsafe').extend({
|
|
implicit: [
|
|
require('../type/null'),
|
|
require('../type/bool'),
|
|
require('../type/int'),
|
|
require('../type/float')
|
|
]
|
|
});
|