How to disable warnings about 'this' and strict mode using JSHint?

set the configuration in .jshintrc file

{
  "validthis": true // Tolerate using this in a non-constructor 
}

You can always override jshint options in the code-block ie.

/* jshint validthis: true */

I had the same issue, with a very similar environment angular 1.5.5 always getting the same lint warning:

If a strict mode function is executed using function invocation, its 'this' value will be undefined.

I've changed the name of my component's main function starting with upper-case and the warning disappeared

function MyController($someDirectives, ...){