aboutsummaryrefslogtreecommitdiff
path: root/tools/eslint/node_modules/ajv/lib/refs/json-schema-v5.json
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2017-07-10 11:14:37 -0700
committerRich Trott <rtrott@gmail.com>2017-07-12 12:39:41 -0700
commit1562fb9ea7b993382a4aef0433a10b1029419f17 (patch)
treeb795bf4daa79204c84a4f42c99c7da042f0af62c /tools/eslint/node_modules/ajv/lib/refs/json-schema-v5.json
parent6d090e10949715f1e143b383894db290174feab0 (diff)
downloadandroid-node-v8-1562fb9ea7b993382a4aef0433a10b1029419f17.tar.gz
android-node-v8-1562fb9ea7b993382a4aef0433a10b1029419f17.tar.bz2
android-node-v8-1562fb9ea7b993382a4aef0433a10b1029419f17.zip
tools: update ESLint to 4.2.0
ESLint 4.2.0 contains a fix for a bug that is blocking us from moving to the non-legacy stricter indentation linting. Update to 4.2.0 to remove the blocking issue. PR-URL: https://github.com/nodejs/node/pull/14155 Ref: https://github.com/eslint/eslint/issues/8882 Ref: https://github.com/eslint/eslint/pull/8885 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michaƫl Zasso <targos@protonmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com>
Diffstat (limited to 'tools/eslint/node_modules/ajv/lib/refs/json-schema-v5.json')
-rw-r--r--tools/eslint/node_modules/ajv/lib/refs/json-schema-v5.json84
1 files changed, 3 insertions, 81 deletions
diff --git a/tools/eslint/node_modules/ajv/lib/refs/json-schema-v5.json b/tools/eslint/node_modules/ajv/lib/refs/json-schema-v5.json
index 5964042bb0..cc679a459d 100644
--- a/tools/eslint/node_modules/ajv/lib/refs/json-schema-v5.json
+++ b/tools/eslint/node_modules/ajv/lib/refs/json-schema-v5.json
@@ -1,7 +1,7 @@
{
"id": "https://raw.githubusercontent.com/epoberezkin/ajv/master/lib/refs/json-schema-v5.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
- "description": "Core schema meta-schema (v5 proposals)",
+ "description": "Core schema meta-schema (v5 proposals - deprecated)",
"definitions": {
"schemaArray": {
"type": "array",
@@ -234,95 +234,17 @@
{ "$ref": "#/definitions/$data" }
]
},
- "formatMaximum": {
- "anyOf": [
- { "type": "string" },
- { "$ref": "#/definitions/$data" }
- ]
- },
- "formatMinimum": {
- "anyOf": [
- { "type": "string" },
- { "$ref": "#/definitions/$data" }
- ]
- },
- "formatExclusiveMaximum": {
- "anyOf": [
- {
- "type": "boolean",
- "default": false
- },
- { "$ref": "#/definitions/$data" }
- ]
- },
- "formatExclusiveMinimum": {
- "anyOf": [
- {
- "type": "boolean",
- "default": false
- },
- { "$ref": "#/definitions/$data" }
- ]
- },
"constant": {
"anyOf": [
{},
{ "$ref": "#/definitions/$data" }
]
},
- "contains": { "$ref": "#" },
- "patternGroups": {
- "type": "object",
- "additionalProperties": {
- "type": "object",
- "required": [ "schema" ],
- "properties": {
- "maximum": {
- "anyOf": [
- { "$ref": "#/definitions/positiveInteger" },
- { "$ref": "#/definitions/$data" }
- ]
- },
- "minimum": {
- "anyOf": [
- { "$ref": "#/definitions/positiveIntegerDefault0" },
- { "$ref": "#/definitions/$data" }
- ]
- },
- "schema": { "$ref": "#" }
- },
- "additionalProperties": false
- },
- "default": {}
- },
- "switch": {
- "type": "array",
- "items": {
- "required": [ "then" ],
- "properties": {
- "if": { "$ref": "#" },
- "then": {
- "anyOf": [
- { "type": "boolean" },
- { "$ref": "#" }
- ]
- },
- "continue": { "type": "boolean" }
- },
- "additionalProperties": false,
- "dependencies": {
- "continue": [ "if" ]
- }
- }
- }
+ "contains": { "$ref": "#" }
},
"dependencies": {
"exclusiveMaximum": [ "maximum" ],
- "exclusiveMinimum": [ "minimum" ],
- "formatMaximum": [ "format" ],
- "formatMinimum": [ "format" ],
- "formatExclusiveMaximum": [ "formatMaximum" ],
- "formatExclusiveMinimum": [ "formatMinimum" ]
+ "exclusiveMinimum": [ "minimum" ]
},
"default": {}
}