title: lint-staged generates new .eslintcache file on commit
body: <p>I'm creating a new Vue project via <code>npm init vue@latest</code> and select <em>everything</em> (Eslint with Prettier)</p>
  <p>I'm using the following setup</p>
  <ul>
  <li>OS: Win11</li>
  <li>node: v17.4</li>
  <li>npm: v8.4</li>
  </ul>
  <p>I setup <em>lint-staged</em> via <code>npx mrm@2 lint-staged</code>. For testing purposes I add a new file inside the <em>src</em> directory</p>
  <pre><code>// calc.js
  
  function 
  add
  (numOne, 
    numTwo) {
    return numOne + 
    
                numTwo;
  }
  </code></pre>
  <p>When committing the new file the linter fixes the code style as expected. But after that I manually have to delete a generated <em>.eslintcache</em> file.</p>
  <p>Older posts say I should add</p>
  <p><code>*.eslintcache</code></p>
  <p>to the <em>.gitignore</em> file. But I compared the generated <em>.gitignore</em> file with the generated one from the Vue CLI and both don't have this line. When using the Vue CLI the cache file doesn't appear.</p>
  <p>So are there any other solutions or is there something I missed?</p>