Skip to content

Commit 8926a07

Browse files
committed
1 parent e02fb73 commit 8926a07

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

index.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,8 @@ module.exports = {
240240
'@typescript-eslint/no-unnecessary-type-arguments': 'error',
241241
'@typescript-eslint/no-unnecessary-type-assertion': 'error',
242242
'@typescript-eslint/no-untyped-public-signature': 'error',
243+
'no-unused-expressions': 'off',
244+
'@typescript-eslint/no-unused-expressions': 'error',
243245
'no-unused-vars': 'off',
244246
'@typescript-eslint/no-unused-vars': [
245247
'error',
@@ -344,8 +346,5 @@ module.exports = {
344346

345347
// Disabled because of https://github.com/typescript-eslint/typescript-eslint/issues/1116
346348
'no-undef': 'off',
347-
348-
// Disabled because of https://github.com/typescript-eslint/typescript-eslint/issues/1138
349-
'no-unused-expressions': 'off'
350349
}
351350
};

0 commit comments

Comments
 (0)