diff --git a/.eslintrc.js b/.eslintrc.js index ac2e363f4e13..d852a75216f9 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -53,7 +53,6 @@ module.exports = { 'deprecation/deprecation': 'error', // TODO(#7338): Investigate enabling these soon ✨ - '@typescript-eslint/consistent-indexed-object-style': 'off', '@typescript-eslint/no-unnecessary-condition': 'off', '@typescript-eslint/no-dynamic-delete': 'off', '@typescript-eslint/prefer-nullish-coalescing': 'off', diff --git a/packages/utils/src/json-schema.ts b/packages/utils/src/json-schema.ts index a3b2e5fdeceb..73ab2f3ddc89 100644 --- a/packages/utils/src/json-schema.ts +++ b/packages/utils/src/json-schema.ts @@ -33,6 +33,8 @@ export type JSONSchema4TypeExtended = | JSONSchema4Object; // Workaround for infinite type recursion +// Also, https://github.com/typescript-eslint/typescript-eslint/issues/7863 +// eslint-disable-next-line @typescript-eslint/consistent-indexed-object-style export interface JSONSchema4Object { [key: string]: JSONSchema4TypeExtended; }