fix: remove redundant ajv option (#4840)

This commit is contained in:
Erez Rokah 2021-01-14 02:33:31 -08:00 committed by GitHub
parent cdfb6c33a5
commit 10fb7677c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -351,7 +351,7 @@ class ConfigError extends Error {
* the config that is passed in. * the config that is passed in.
*/ */
export function validateConfig(config) { export function validateConfig(config) {
const ajv = new AJV({ allErrors: true, jsonPointers: true, $data: true, strict: false }); const ajv = new AJV({ allErrors: true, $data: true, strict: false });
uniqueItemProperties(ajv); uniqueItemProperties(ajv);
select(ajv); select(ajv);
instanceOf(ajv); instanceOf(ajv);