diff --git a/packages/eslint-config-ts/index.js b/packages/eslint-config-ts/index.js index eba1141..1e2378c 100644 --- a/packages/eslint-config-ts/index.js +++ b/packages/eslint-config-ts/index.js @@ -72,6 +72,7 @@ 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',