Skip to content

Commit e039ad3

Browse files
ehsankhfrianschmitz
andauthoredDec 8, 2020
Move ESLint cache file into node_modules (#9977)
Co-authored-by: Ian Schmitz <ianschmitz@gmail.com>
1 parent 6dce3f4 commit e039ad3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

‎packages/react-scripts/config/webpack.config.js

+4
Original file line numberDiff line numberDiff line change
@@ -759,6 +759,10 @@ module.exports = function (webpackEnv) {
759759
eslintPath: require.resolve('eslint'),
760760
context: paths.appSrc,
761761
cache: true,
762+
cacheLocation: path.resolve(
763+
paths.appNodeModules,
764+
'.cache/.eslintcache'
765+
),
762766
// ESLint class options
763767
cwd: paths.appPath,
764768
resolvePluginsRelativeTo: __dirname,

0 commit comments

Comments
 (0)
Please sign in to comment.