Skip to content
This repository was archived by the owner on Feb 21, 2020. It is now read-only.

Commit d1515e0

Browse files
committed
turn off ignoring of RHS for no unnecessary condition rule
1 parent 8dcfc8d commit d1515e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/typescript.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ module.exports = {
111111
'@typescript-eslint/no-require-imports': 'error',
112112
'@typescript-eslint/no-this-alias': 'error',
113113
'@typescript-eslint/no-unnecessary-condition': ['error', {
114-
ignoreRhs: true,
114+
ignoreRhs: false,
115115
}],
116116
'@typescript-eslint/no-type-alias': ['error', {
117117
allowAliases: 'in-unions-and-intersections',

0 commit comments

Comments
 (0)