Skip to content

Commit

Permalink
feat(@typescript-eslint): enable no-invalid-this
Browse files Browse the repository at this point in the history
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
  • Loading branch information
G-Rath committed Nov 23, 2021
1 parent d400c17 commit 84de298
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion @typescript-eslint.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ const config = {
'@typescript-eslint/no-dupe-class-members': 'error',
'@typescript-eslint/no-dynamic-delete': 'error',
'@typescript-eslint/no-extraneous-class': 'error',
'@typescript-eslint/no-invalid-this': 'error',
'@typescript-eslint/no-loop-func': 'error',
'@typescript-eslint/no-meaningless-void-operator': 'error',
'@typescript-eslint/no-namespace': [
Expand Down Expand Up @@ -120,7 +121,7 @@ const config = {
'lines-between-class-members': 'off',
'no-dupe-class-members': 'off', // @typescript-eslint
'no-import-assign': 'off',
'no-invalid-this': 'off',
'no-invalid-this': 'off', // @typescript-eslint
'no-iterator': 'off',
'no-loop-func': 'off', // @typescript-eslint
'no-proto': 'off', // TS2339
Expand Down

0 comments on commit 84de298

Please sign in to comment.