From abf5c27385d7d80fffcdc2036869591f648e9e6f Mon Sep 17 00:00:00 2001 From: Anthony Fu Date: Sun, 4 Jun 2023 16:20:40 +0200 Subject: [PATCH] fix: disable `@typescript-eslint/consistent-type-assertions` --- packages/eslint-config-ts/index.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/eslint-config-ts/index.js b/packages/eslint-config-ts/index.js index 1e2378c..2ae2019 100644 --- a/packages/eslint-config-ts/index.js +++ b/packages/eslint-config-ts/index.js @@ -72,8 +72,6 @@ module.exports = { '@typescript-eslint/consistent-type-definitions': ['error', 'interface'], '@typescript-eslint/prefer-ts-expect-error': 'error', '@typescript-eslint/no-require-imports': 'error', - '@typescript-eslint/consistent-type-assertions': ['error', { assertionStyle: 'as', objectLiteralTypeAssertions: 'allow-as-parameter' }], - // Override JS 'no-useless-constructor': 'off', 'indent': 'off',