Skip to content

Commit

Permalink
fix: disable no-invalid-this
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Nov 22, 2023
1 parent 9c0a81f commit 00c2287
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/configs/javascript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ export async function javascript(
'no-implied-eval': 'error',
'no-import-assign': 'error',
'no-invalid-regexp': 'error',
'no-invalid-this': 'error',
'no-irregular-whitespace': 'error',
'no-iterator': 'error',
'no-labels': ['error', { allowLoop: false, allowSwitch: false }],
Expand Down
2 changes: 0 additions & 2 deletions src/configs/typescript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ export async function typescript(
'antfu/named-tuple-spacing': 'error',

'no-dupe-class-members': 'off',
'no-invalid-this': 'off',
'no-loss-of-precision': 'off',
'no-redeclare': 'off',
'no-use-before-define': 'off',
Expand All @@ -108,7 +107,6 @@ export async function typescript(
'ts/no-explicit-any': 'off',
'ts/no-extraneous-class': 'off',
'ts/no-import-type-side-effects': 'error',
'ts/no-invalid-this': 'error',
'ts/no-invalid-void-type': 'off',
'ts/no-loss-of-precision': 'error',
'ts/no-non-null-assertion': 'off',
Expand Down

0 comments on commit 00c2287

Please sign in to comment.