Skip to content

Commit 56bc0bc

Browse files
committed
Use @typescript-eslint/parser for TypeScript files
1 parent 6286882 commit 56bc0bc

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.eslintrc.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,11 @@ module.exports = {
3232
"jest/expect-expect": ["off"],
3333
"@typescript-eslint/no-var-requires": ["off"],
3434
},
35+
overrides: [
36+
// Rules for TypeScript only
37+
{
38+
files: ["*.ts", "*.tsx"],
39+
parser: "@typescript-eslint/parser",
40+
},
41+
],
3542
};

0 commit comments

Comments
 (0)