Skip to content

Commit 641649a

Browse files
authored
Merge pull request #136 from stephenotalora/ts-no-invalid-this-fix
apply suggested fix for no-invalid-this from typescript-eslint
2 parents a8ec7ad + f8114bc commit 641649a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/configs/typescript.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ module.exports = {
66
camelcase: 'off',
77
'no-unused-vars': 'off',
88
'no-shadow': 'off',
9+
'no-invalid-this': "off",
10+
'@typescript-eslint/no-invalid-this': ['error'],
911
'@typescript-eslint/no-shadow': ['error'],
1012
'@typescript-eslint/interface-name-prefix': 'off',
1113
'@typescript-eslint/array-type': ['error', {default: 'array-simple'}],

0 commit comments

Comments
 (0)