From af2c3273cf853bd7fa3f6c18bc870aa37a68e9d4 Mon Sep 17 00:00:00 2001 From: Anthony Fu Date: Fri, 3 Jun 2022 22:08:48 +0800 Subject: [PATCH] fix: disable `consistent-indexed-object-style` --- packages/typescript/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/typescript/index.js b/packages/typescript/index.js index eabe91e..1521e34 100644 --- a/packages/typescript/index.js +++ b/packages/typescript/index.js @@ -21,7 +21,6 @@ module.exports = { '@typescript-eslint/type-annotation-spacing': ['error', {}], '@typescript-eslint/consistent-type-imports': ['error', { prefer: 'type-imports', disallowTypeAnnotations: false }], '@typescript-eslint/consistent-type-definitions': ['error', 'interface'], - '@typescript-eslint/consistent-indexed-object-style': ['error', 'record'], '@typescript-eslint/prefer-ts-expect-error': 'error', // Override JS @@ -113,6 +112,7 @@ module.exports = { // '@typescript-eslint/dot-notation': ['error', { allowKeywords: true }], // off + '@typescript-eslint/consistent-indexed-object-style': 'off', '@typescript-eslint/naming-convention': 'off', '@typescript-eslint/explicit-function-return-type': 'off', '@typescript-eslint/explicit-member-accessibility': 'off',