title: Eslint: --fix not resolving warnings according to .eslintrc rules
body: <p>I am trying to auto-fix issues in my js file using </p>
  
  <pre><code>eslint --fix -c "/path/to/.eslintrc" &lt;file-name.js&gt;
  </code></pre>
  
  <p>but with no success.
  Went through <a href="https://eslint.org/docs/rules/" rel="noreferrer">Eslint Rules</a>.
  I have to fix "no-undef" &amp; "no-unused-vars" using the command, but it still not works.</p>