Skip to content

Commit

Permalink
Ignore json files from TypeScript type checking (facebook#5614)
Browse files Browse the repository at this point in the history
  • Loading branch information
brunolemos authored and nate770 committed Oct 30, 2018
1 parent 067e51b commit cde4e88
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/react-scripts/config/webpack.config.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,7 @@ module.exports = {
},
reportFiles: [
'**',
'!**/*.json',
'!**/__tests__/**',
'!**/?(*.)(spec|test).*',
'!src/setupProxy.js',
Expand Down
1 change: 1 addition & 0 deletions packages/react-scripts/config/webpack.config.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -548,6 +548,7 @@ module.exports = {
},
reportFiles: [
'**',
'!**/*.json',
'!**/__tests__/**',
'!**/?(*.)(spec|test).*',
'!src/setupProxy.js',
Expand Down

0 comments on commit cde4e88

Please sign in to comment.