Ignore test files from reported type errors (#5608)

* Ignore test files from reported type errors

* Ignore setup proxy & test files
This commit is contained in:
Joe Haddad
2018-10-28 15:24:12 -04:00
committed by GitHub
parent 9747480f19
commit 3403f05e93
2 changed files with 14 additions and 0 deletions

View File

@@ -432,6 +432,13 @@ module.exports = {
noEmit: true,
jsx: 'preserve',
},
reportFiles: [
'**',
'!**/__tests__/**',
'!**/?(*.)(spec|test).*',
'!src/setupProxy.js',
'!src/setupTests.*',
],
watch: paths.appSrc,
silent: true,
formatter: typescriptFormatter,

View File

@@ -552,6 +552,13 @@ module.exports = {
noEmit: true,
jsx: 'preserve',
},
reportFiles: [
'**',
'!**/__tests__/**',
'!**/?(*.)(spec|test).*',
'!src/setupProxy.js',
'!src/setupTests.*',
],
watch: paths.appSrc,
silent: true,
formatter: typescriptFormatter,