title: Eslint "No files matching the pattern "lint" were found. Please check for typing mistakes in the pattern." error
body: <p>recently I have updated my project eslint package to <code>"eslint": "^6.8.0"</code>. And this is when I'm seeing the error</p>
  
  <pre><code>Oops! Something went wrong! :(
  
  ESLint: 6.8.0.
  
  No files matching the pattern "lint" were found.
  Please check for typing mistakes in the pattern.
  </code></pre>
  
  <p>My package JSON script looks like this:</p>
  
  <pre><code>"lint": "eslint lint --color src -f ./node_modules/eslint-friendly-formatter src/ tests/unit/__mocks__/ --ext .json --ext .js -c .eslintrc.js",
  </code></pre>
  
  <p>I'm not sure what's wrong with this script, it was wroking fine with the older verisons of eslint. </p>
  
  <p>When looking for a solution in the forums, the suggestion is to add a flag 
  <code>--no-error-on-unmatched-pattern</code>. I'm not sure why do I need to add this flag to my script.
  Any help appreciated!  </p>