Skip to content

Commit 08fbc6a

Browse files
committed
[Tests] smoke: only use the TS parser on TS files
Closes #3178
1 parent 151bb2b commit 08fbc6a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

test/eslint-remote-tester.config.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,12 @@ module.exports = {
2121
env: {
2222
es6: true,
2323
},
24-
parser: '@typescript-eslint/parser',
24+
overrides: [
25+
{
26+
files: ['*.ts', '*.tsx', '*.mts', '*.cts'],
27+
parser: '@typescript-eslint/parser',
28+
},
29+
],
2530
parserOptions: {
2631
ecmaVersion: 2020,
2732
sourceType: 'module',

0 commit comments

Comments
 (0)