ESLint running against cached dependencies
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3582336. -->
Reported by: [tim.plunkett](https://www.drupal.org/user/241634)
Related to !822
>>>
<h3 id="overview">Overview</h3>
<p>Pipelines on recent MRs are failing with eslint on dependencies.</p>
<pre>/builds/project/canvas/.cache/ms-playwright/chromium-1208/chrome-linux64/resources/accessibility/reading_mode_gdocs_helper/content.js<br> 9:13 error 'chrome' is not defined no-undef<br>/builds/project/canvas/.cache/ms-playwright/chromium-1208/chrome-linux64/resources/accessibility/reading_mode_gdocs_helper/gdocs_script.js<br> 6:8 error 'chrome' is not defined no-undef<br> 6:27 error 'chrome' is not defined no-undef<br> 22:25 error 'chrome' is not defined no-undef<br>/builds/project/canvas/.cache/ms-playwright/chromium-1208/chrome-linux64/resources/inspector_overlay/main.js<br> 1:41745 error Unexpected aliasing of 'this' to local variable @typescript-eslint/no-this-alias<br>/builds/project/canvas/.cache/ms-playwright/firefox-1509/firefox/browser/defaults/preferences/00-playwright-prefs.js<br> 2:1 error 'pref' is not defined no-undef<br> 3:1 error 'pref' is not defined no-undef<br>/builds/project/canvas/.cache/ms-playwright/firefox-1509/firefox/defaults/pref/channel-prefs.js<br> 9:1 error 'pref' is not defined no-undef<br>✖ 8 problems (8 errors, 0 warnings)<br>ERROR: "lint:eslint" exited with 1.</pre><p><a href="http://project.pages.drupalcode.org/-/canvas/-/jobs/9160336/artifacts/ui-eslint-junit.xml">http://project.pages.drupalcode.org/-/canvas/-/jobs/9160336/artifacts/ui-eslint-junit.xml</a></p>
<p>This is likely from <span class="drupalorg-gitlab-issue-link drupalorg-gitlab-link-wrapper"><a href="https://git.drupalcode.org/project/canvas/-/work_items/3554549" class="drupalorg-gitlab-link">https://git.drupalcode.org/project/canvas/-/work_items/3554549</a></span> as that introduces the .cache directory.</p>
<h3 id="proposed-resolution">Proposed resolution</h3>
<h3 id="ui-changes">User interface changes</h3>
issue