Skip to content

Commit ff380b9

Browse files
WesSouzaarturbien
authored andcommitted
chore(lint): disable no-undef on TypeScript files
1 parent 42c02b2 commit ff380b9

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.eslintrc.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,13 @@ module.exports = {
5151
rules: {
5252
'no-console': 'off'
5353
}
54+
},
55+
{
56+
files: ['*.@(ts|tsx)'],
57+
rules: {
58+
// This is handled by @typescript-eslint/no-unused-vars
59+
'no-undef': 'off'
60+
}
5461
}
5562
],
5663
settings: {

0 commit comments

Comments
 (0)