Skip to content

Commit aa26058

Browse files
committed
Disable @typescript-eslint/no-extra-non-null-assertion rule
1 parent f13cf8b commit aa26058

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,8 @@ module.exports = {
267267
// }
268268
// ],
269269

270-
'@typescript-eslint/no-extra-non-null-assertion': 'error',
270+
// TODO: Try to enable this again in 2021. It's currently a bit buggy, most likely caused by TypeScript itself.
271+
// '@typescript-eslint/no-extra-non-null-assertion': 'error',
271272

272273
// Disabled because it's buggy. It transforms `...(personalToken ? {Authorization: `token ${personalToken}`} : {})` into `...personalToken ? {Authorization: `token ${personalToken}`} : {}` which is not valid.
273274
// https://github.com/typescript-eslint/typescript-eslint/search?q=%22no-extra-parens%22&state=open&type=Issues

0 commit comments

Comments
 (0)