Skip to content

Commit

Permalink
Disable rule no-invalid-this
Browse files Browse the repository at this point in the history
  • Loading branch information
remcohaszing committed Sep 29, 2023
1 parent 0f3b26a commit 26ec0b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion core/suggestion.js
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ module.exports = {
/**
* https://eslint.org/docs/latest/rules/no-invalid-this
*/
'no-invalid-this': ['error', { capIsConstructor: false }],
'no-invalid-this': 'off',

/**
* https://eslint.org/docs/latest/rules/no-iterator
Expand Down
3 changes: 1 addition & 2 deletions typescript.js
Original file line number Diff line number Diff line change
Expand Up @@ -505,8 +505,7 @@ module.exports = {
/**
* https://typescript-eslint.io/rules/no-invalid-this
*/
'@typescript-eslint/no-invalid-this': ['error', { capIsConstructor: false }],
'no-invalid-this': 'off',
'@typescript-eslint/no-invalid-this': 'off',

/**
* https://typescript-eslint.io/rules/no-invalid-void-type
Expand Down

0 comments on commit 26ec0b9

Please sign in to comment.