w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
JSHint behave differently in Webstorm and Grunt

First, you should configure WebStorm to use the same JSHint file as Grunt.

Go to Project Settings -> Javascript -> Code Quality Tools -> JSHint click Enable and reference to the .jshintrc in your Project.

Second, you should add this two lines of code at the top of all your JavaScript files:

/* global angular */
'use strict';

© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.