Skip to content

Commit f56d90d

Browse files
committed
Fix TypeScript not supporting extensions
1 parent a1b21d9 commit f56d90d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

config/plugins.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,12 @@ module.exports = {
184184
'error',
185185
'always',
186186
{
187-
ignorePackages: true
187+
ignorePackages: true,
188+
// TypeScript doesn't yet support using extensions and fails with error TS2691.
189+
pattern: {
190+
ts: 'never',
191+
tsx: 'never'
192+
}
188193
}
189194
],
190195

0 commit comments

Comments
 (0)