Skip to content

Commit af38655

Browse files
committed
Disable babel's no-invalid-this rule
because Typescript has its own version of that rule
1 parent f8f86ef commit af38655

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.eslintrc.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ module.exports = {
3131
"files": ["src/**/*.ts", "test/**/*.ts"],
3232
"extends": ["matrix-org/ts"],
3333
"rules": {
34+
// TypeScript has its own version of this
35+
"babel/no-invalid-this": "off",
36+
3437
"quotes": "off",
3538
},
3639
}],

0 commit comments

Comments
 (0)