Skip to content

Commit

Permalink
feat(ts): enable @typescript-eslint/consistent-type-assertions (#188)
Browse files Browse the repository at this point in the history
  • Loading branch information
zanminkian committed May 26, 2023
1 parent 7b399a6 commit a3598d3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/eslint-config-ts/index.js
Expand Up @@ -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',
Expand Down

0 comments on commit a3598d3

Please sign in to comment.