We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a754bcf commit e78111bCopy full SHA for e78111b
packages/react-scripts/config/webpack.config.js
@@ -355,6 +355,12 @@ module.exports = function(webpackEnv) {
355
},
356
],
357
include: includePaths,
358
+ // Don't lint typescript files outside the main package because it has problems with some syntax rules, e.g. abstract
359
+ exclude: useTypeScript
360
+ ? file =>
361
+ /\.tsx?/.test(path.extname(file)) &&
362
+ !file.startsWith(paths.appSrc)
363
+ : undefined,
364
365
{
366
// "oneOf" will traverse all following loaders until one will
0 commit comments