You can do this on a per-file basis by adding the names of the functions the warnings for which you want suppressed to a global line at the very beginning of each file:
/* global RandomFunction1, RandomFunction2: true */
Alternatively, if you're using a customised .jshintrc
file you can add the function names to the globals object:
{
"globals": {
"RandomFunction1": true,
"RandomFunction2": true
},
... rest of the .jshintrc file.
}
There's a lot of information in the JSHint documentation on both global lines and .jshintrc
files.