title: eslint --fix not working when running by npm
body: <p>eslint --fix option is not working when i run it through npm. Here is my <strong>package.json</strong> scripts</p>
  
  <pre><code>"scripts":            
  {
      "start": "nodemon ./server.js --exec babel-node",          
      "lint": "eslint ./data/* --format html  --output-file ./finalresult.html --fix ; exit 0"
  }
  </code></pre>
  
  <p>when I run it using command <strong>npm run lint</strong> report is generating but without fixing. But if I am running the same command </p>
  
  <blockquote>
    <p><strong>eslint ./data/* --format html  --output-file ./finalresult.html --fix</strong></p>
  </blockquote>
  
  <p>from console it is generating report after fix.Why is it so? Am I doing anything wrong? Can Anyone please help me</p>