title: Eslint - How to lint a given large list of files
body: <p>The doc states I can pass an explicit list of files to Eslint using the <a href="https://eslint.org/docs/user-guide/command-line-interface" rel="nofollow noreferrer">CLI</a> (eg. <code>eslint file1.js file2.js</code>) but my list contains hundreds of files. So my questions are:</p>
  <ul>
  <li>Is it feasible/best practice to pass hundreds of files via the CLI?</li>
  <li>If not, how to tell Eslint to lint only a specific list of files?</li>
  </ul>
  <p>For the second option, here is what I've tried:</p>
  <ul>
  <li>I used the <a href="https://eslint.org/docs/user-guide/command-line-interface" rel="nofollow noreferrer">overrides</a> option but I still have to lint all the files of my project.</li>
  <li>I ignored all files in <code>.eslintignore</code> and made exceptions for the files included in my list but Eslint throws an error saying I've ignored all the files.</li>
  </ul>