Skip to content

Commit fd10295

Browse files
committed
Disable no-undef rule
It's not compatible with optional chaining.
1 parent 1b01414 commit fd10295

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
@@ -307,6 +307,9 @@ module.exports = {
307307
'valid-jsdoc': 'off',
308308

309309
// Disabled because of https://github.com/typescript-eslint/typescript-eslint/issues/60
310-
'no-redeclare': 'off'
310+
'no-redeclare': 'off',
311+
312+
// Disabled because of https://github.com/typescript-eslint/typescript-eslint/issues/1116
313+
'no-undef': 'off'
311314
}
312315
};

0 commit comments

Comments
 (0)