Skip to content

Commit 0ddddad

Browse files
committed
fix(@typescript-eslint): use @typescript-eslint/no-unused-expressions
1 parent 441d0f1 commit 0ddddad

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

@typescript-eslint.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ const config = {
4848
],
4949
'@typescript-eslint/no-unnecessary-qualifier': 'error',
5050
'@typescript-eslint/no-unnecessary-type-arguments': 'error',
51+
'@typescript-eslint/no-unused-expressions': 'error',
5152
'@typescript-eslint/explicit-module-boundary-types': 'error',
5253
'@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_' }],
5354
'@typescript-eslint/no-use-before-define': [
@@ -77,6 +78,7 @@ const config = {
7778
'@typescript-eslint/unbound-method': 'warn', // can be a bit wrong
7879
'@typescript-eslint/unified-signatures': 'warn', // can be a bit wrong
7980

81+
'no-unused-expressions': 'off',
8082
'array-callback-return': 'off',
8183
'block-scoped-var': 'off',
8284
'consistent-return': 'off', // via --noImplicitReturns

0 commit comments

Comments
 (0)