You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: index.js
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -243,6 +243,8 @@ module.exports = {
243
243
allowDestructuring: true
244
244
}
245
245
],
246
+
'no-throw-literal': 'off',
247
+
'@typescript-eslint/no-throw-literal': 'error',
246
248
247
249
// TODO: Reconsider enabling this again in 2020.
248
250
// Disable because it has too many false-positives: https://github.com/typescript-eslint/typescript-eslint/search?q=no-unnecessary-condition+is%3Aissue&state=open&type=Issues
0 commit comments