Skip to content

Commit

Permalink
fix: disable consistent-indexed-object-style
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Jun 3, 2022
1 parent 12e57fc commit af2c327
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/typescript/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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',
Expand Down

0 comments on commit af2c327

Please sign in to comment.