Skip to content

Commit c5ed708

Browse files
committed
add // eslint-disable-next-line @typescript-eslint/ban-types to avoid eslint error
1 parent f99e533 commit c5ed708

File tree

1 file changed

+1
-1
lines changed
  • packages/optimizely-sdk/lib/utils/json_schema_validator

1 file changed

+1
-1
lines changed

packages/optimizely-sdk/lib/utils/json_schema_validator/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export function validate(jsonObject: unknown): boolean {
3030
if (!jsonObject) {
3131
throw new Error(sprintf(ERROR_MESSAGES.NO_JSON_PROVIDED, MODULE_NAME));
3232
}
33-
33+
// eslint-disable-next-line @typescript-eslint/ban-types
3434
const result = jsonSchemaValidator(jsonObject as {}, schema);
3535
if (result.valid) {
3636
return true;

0 commit comments

Comments
 (0)