title: pre-commit hook with lint
body: <p>I'm trying to add precommit-hook to my project, this is my script section on package.json:</p>
  <pre><code>&quot;scripts&quot;: {
      ...
      &quot;lint&quot;: &quot;npm run lint:sass &amp;&amp; npm run lint:js&quot;,
      &quot;lint:js&quot;: &quot;ng lint&quot;,
      &quot;lint:sass&quot;: &quot;sass-lint src/**/*.scss -v -q&quot;
  }...
  &quot;pre-commit&quot;: [
      &quot;lint&quot;
  ],
  </code></pre>
  <p>If I only execute this line:</p>
  <blockquote>
  <p>npm run lint:sass &amp;&amp; npm run lint:js</p>
  </blockquote>
  <p>Everything works great, but when I'm trying to add <a href="https://www.npmjs.com/package/precommit-hook" rel="nofollow noreferrer" title="precommit-hook">precommit</a> my terminal just freeze on:</p>
  <blockquote>
  <p>git commit -m &quot;Testing&quot;</p>
  <p>running lint...</p>
  </blockquote>