feat(ts): enable @typescript-eslint/consistent-type-assertions
(#188)
This commit is contained in:
parent
7b399a63db
commit
a3598d36d2
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user