diff --git a/lib/util/ajv.js b/lib/util/ajv.js index f9e8b985356..285176da87d 100644 --- a/lib/util/ajv.js +++ b/lib/util/ajv.js @@ -19,7 +19,8 @@ const ajv = new Ajv({ meta: false, validateSchema: false, missingRefs: "ignore", - verbose: true + verbose: true, + schemaId: "auto" }); ajv.addMetaSchema(metaSchema); diff --git a/package.json b/package.json index 5b88af0c1a8..643e047a10e 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "homepage": "https://eslint.org", "bugs": "https://github.com/eslint/eslint/issues/", "dependencies": { - "ajv": "^5.3.0", + "ajv": "^6.0.1", "babel-code-frame": "^6.26.0", "chalk": "^2.1.0", "concat-stream": "^1.6.2", @@ -70,7 +70,7 @@ "semver": "^5.5.0", "strip-ansi": "^4.0.0", "strip-json-comments": "^2.0.1", - "table": "4.0.2", + "table": "^4.0.3", "text-table": "^0.2.0" }, "devDependencies": {