Skip to content

Commit

Permalink
feat: make type casts result to error
Browse files Browse the repository at this point in the history
  • Loading branch information
john-d-pelingo committed Dec 11, 2021
1 parent 493d7d8 commit 5a06d62
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/eslint-config-typescript/.eslintrc.js
Expand Up @@ -24,6 +24,12 @@ const config = {
},
],
'@typescript-eslint/consistent-type-imports': 'error',
'@typescript-eslint/consistent-type-assertions': [
'error',
{
assertionStyle: 'never',
},
],
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/no-unused-vars': [
'error',
Expand Down

0 comments on commit 5a06d62

Please sign in to comment.