Skip to content

Commit

Permalink
Fix TypeScript not supporting extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Jan 2, 2021
1 parent a1b21d9 commit f56d90d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion config/plugins.js
Expand Up @@ -184,7 +184,12 @@ module.exports = {
'error',
'always',
{
ignorePackages: true
ignorePackages: true,
// TypeScript doesn't yet support using extensions and fails with error TS2691.
pattern: {
ts: 'never',
tsx: 'never'
}
}
],

Expand Down

0 comments on commit f56d90d

Please sign in to comment.