Skip to content

Commit 1fa25bf

Browse files
committed
Disable no-unused-expressions rule
It's not compatible with optional method calls.
1 parent 79621cf commit 1fa25bf

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

index.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,9 @@ module.exports = {
320320
'no-redeclare': 'off',
321321

322322
// Disabled because of https://github.com/typescript-eslint/typescript-eslint/issues/1116
323-
'no-undef': 'off'
323+
'no-undef': 'off',
324+
325+
// Disabled because of https://github.com/typescript-eslint/typescript-eslint/issues/1138
326+
'no-unused-expressions': 'off'
324327
}
325328
};

0 commit comments

Comments
 (0)