Given what I have from yoman build my .jshintrc, yes, you need to add these names to this file.
Annoying, yes, if you didnβt use something for the scaffold, like, well, yoman!
Here is the .jshintrc that yoman creates for me - plus the addition of lodash / underscore and jQuery.
{ "node": true, "browser": true, "esnext": true, "bitwise": true, "camelcase": true, "curly": true, "eqeqeq": true, "immed": true, "indent": 4, "latedef": true, "newcap": true, "noarg": true, "quotmark": "single", "undef": true, "unused": true, "strict": true, "trailing": true, "smarttabs": true, "multistr": true, "globals": { "after": false, "afterEach": false, "angular": false, "before": false, "beforeEach": false, "browser": false, "describe": false, "expect": false, "inject": false, "it": false, "jasmine": false, "spyOn": false, "$": false, "_": false } }