Prevent JSHint warning that ‘functionName is defined but never used’
To avoid the warning defined but never used in jslint in your javascript add comments like: /*exported formValidationSetup, refreshErrorMessages */ In jshint and jslint you can set the unused option to false: /*jshint unused:false*/ See Options