title: JSHint behave differently in Webstorm and Grunt
body: <p>I have created a new service with Grunt using the angular-generator and then reformatted the code with WebStorm <strong><kbd>Ctrl</kbd>+<kbd>ALT</kbd>+<kbd>L</kbd></strong> as the tabs / spaces seem to be different.</p>
  
  <p>Then when using Grunt and the task JShint complains I get the following errors:</p>
  
  <pre><code>app/scripts/services/poteservice.js
    line 11  col 13  Expected '}' to have an indentation at 15 instead at 13.
    line 14  col 13  Expected '}' to have an indentation at 15 instead at 13.
  </code></pre>
  
  <p>Another strange issue is that I found that I can enabled JSHint inside WebStorm but then I get issues like</p>
  
  <pre><code> JSHINT: angular not defined
  
      and
  
   Use the function form of use strict
  </code></pre>
  
  <p>Anybody knows how to make everyone play together nicely i.e. WebStorm and Grunt etc.</p>
  
  <p>I do have the WebStorm plugin for angular installed.</p>
  
  <p>Can anyone help?</p>