Repository: create-react-app
Issue: Bug: react-scripts 4.0.1 : EBUSY: resource busy or locked, open 'C:\...\project\.eslintcache
Labels: needs triage,issue: bug report

<!--
    Please note that your issue will be fixed much faster if you spend about
    half an hour preparing it, including the exact reproduction steps and a demo.

    If you're in a hurry or don't feel confident, it's fine to report bugs with
    less details, but this makes it less likely they'll get fixed soon.

    In either case, please use this template and fill in as many fields below as you can.

    Note that we don't provide help for webpack questions after ejecting.
    You can find webpack docs at https://webpack.js.org/.
-->

### Describe the bug

An error is emit after a yarn start (same with yarn build)

EBUSY: resource busy or locked, open `C:\...\project\.eslintcache`

Seems there is a concurential read/write on this file

### Did you try recovering your dependencies?

Yes

```
$ npm --version
6.14.8
$ yarn --version
1.22.10
```

### Which terms did you search for in User Guide?

<!--
  There are a few common documented problems, such as watcher not detecting changes, or build failing.
  They are described in the Troubleshooting section of the User Guide:

  https://facebook.github.io/create-react-app/docs/troubleshooting

  Please scan these few sections for common problems.
  Additionally, you can search the User Guide itself for something you're having issues with:

  https://facebook.github.io/create-react-app/

  If you didn't find the solution, please share which words you searched for.
  This helps us improve documentation for future readers who might encounter the same problem.
-->

- eslintcache lock
- windows lock

### Environment

```
$ npx create-react-app --info
npx: installed 67 in 4.664s

Environment Info:

  current version of create-react-app: 4.0.1
  running from C:\Users\myuser\AppData\Roaming\npm-cache\_npx\15308\node_modules\create-react-app

  System:
    OS: Windows 10 10.0.19042
    CPU: (12) x64 Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz
  Binaries:
    Node: 14.15.1 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.10 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 6.14.8 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Chrome: 87.0.4280.66
    Edge: Spartan (44.19041.423.0), Chromium (87.0.664.47)
    Internet Explorer: 11.0.19041.1
  npmPackages:
    react: Not Found
    react-dom: Not Found
    react-scripts: Not Found
  npmGlobalPackages:
    create-react-app: Not Found
```

### Steps to reproduce

1. Create a project in typescript with eslint
2. Seems that the problem occurs only when there are a lot of files to build
3. Use react-scripts 4.0.1 (The version 4.0.0 works)
4. On "yarn start", an error occurs (90% of time but not always)

### Expected behavior

yarn start works :)

### Actual behavior

![100120709-907d0e00-2e78-11eb-92e6-bd94c89acfd5](https://user-images.githubusercontent.com/4507910/100204466-30cc4480-2f04-11eb-950f-5e9defe27d64.png)

### Reproducible demo

It's the difficult part.
The issue happen only on Windows (Due to a windows file locking) and when the project contains a lot of files
So, create a minimal project is hard and I cannot give you the project of my company