diff --git a/lib/configs/typescript.js b/lib/configs/typescript.js index 5ec8c974..6e82ce7e 100644 --- a/lib/configs/typescript.js +++ b/lib/configs/typescript.js @@ -6,6 +6,8 @@ module.exports = { camelcase: 'off', 'no-unused-vars': 'off', 'no-shadow': 'off', + 'no-invalid-this': "off", + '@typescript-eslint/no-invalid-this': ['error'], '@typescript-eslint/no-shadow': ['error'], '@typescript-eslint/interface-name-prefix': 'off', '@typescript-eslint/array-type': ['error', {default: 'array-simple'}],