Skip to content

Commit 400d52e

Browse files
committed
feat: enable no-invalid-this
1 parent d853854 commit 400d52e

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

packages/eslint-config-basic/index.js

+1
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,7 @@ module.exports = {
308308
"no-with": "error",
309309
"no-void": "error",
310310
"no-useless-escape": "error",
311+
"no-invalid-this": "error",
311312
"vars-on-top": "error",
312313
"require-await": "off",
313314
"no-return-assign": "off",

packages/eslint-config-ts/index.js

+2
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,8 @@ module.exports = {
114114
],
115115
offsetTernaryExpressions: true,
116116
}],
117+
"no-invalid-this": "off",
118+
"@typescript-eslint/no-invalid-this": "error",
117119
"no-redeclare": "off",
118120
"@typescript-eslint/no-redeclare": "error",
119121
"no-use-before-define": "off",

0 commit comments

Comments
 (0)