Skip to content

Commit

Permalink
feat: enable no-invalid-this (#173)
Browse files Browse the repository at this point in the history
  • Loading branch information
zanminkian committed Apr 18, 2023
1 parent e28861a commit ff74d69
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/eslint-config-basic/index.js
Expand Up @@ -310,6 +310,7 @@ module.exports = {
'no-with': 'error',
'no-void': 'error',
'no-useless-escape': 'off',
'no-invalid-this': 'error',
'vars-on-top': 'error',
'require-await': 'off',
'no-return-assign': 'off',
Expand Down
2 changes: 2 additions & 0 deletions packages/eslint-config-ts/index.js
Expand Up @@ -114,6 +114,8 @@ module.exports = {
],
offsetTernaryExpressions: true,
}],
'no-invalid-this': 'off',
'@typescript-eslint/no-invalid-this': 'error',
'no-redeclare': 'off',
'@typescript-eslint/no-redeclare': 'error',
'no-use-before-define': 'off',
Expand Down

0 comments on commit ff74d69

Please sign in to comment.