Skip to content

Commit 84de298

Browse files
committed
feat(@typescript-eslint): enable no-invalid-this
It's an extension of a core rule that is enabled in our standard config that we'd disabled due to false positives in typescript
1 parent d400c17 commit 84de298

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

@typescript-eslint.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ const config = {
6868
'@typescript-eslint/no-dupe-class-members': 'error',
6969
'@typescript-eslint/no-dynamic-delete': 'error',
7070
'@typescript-eslint/no-extraneous-class': 'error',
71+
'@typescript-eslint/no-invalid-this': 'error',
7172
'@typescript-eslint/no-loop-func': 'error',
7273
'@typescript-eslint/no-meaningless-void-operator': 'error',
7374
'@typescript-eslint/no-namespace': [
@@ -120,7 +121,7 @@ const config = {
120121
'lines-between-class-members': 'off',
121122
'no-dupe-class-members': 'off', // @typescript-eslint
122123
'no-import-assign': 'off',
123-
'no-invalid-this': 'off',
124+
'no-invalid-this': 'off', // @typescript-eslint
124125
'no-iterator': 'off',
125126
'no-loop-func': 'off', // @typescript-eslint
126127
'no-proto': 'off', // TS2339

0 commit comments

Comments
 (0)