title: Prevent JSHint warning that 'functionName is defined but never used'
body: <p>I have just started using JSHint (through the Sublime-Linter package for Sublime Text 2). I would like to suppress its warnings regarding functions that are used before they are defined, as I see no problem with using function definitions like this. For example, the following code generates warnings:</p>
  
  <pre><code>(function($){ 
  
      $(document).ready(function()
      {
        formValidationSetup();
        refreshErrorMessages();
      });
  
      function formValidationSetup()
      {
  
      }
  
      function refreshErrorMessages()
      {
  
      }
  
  })(jQuery);
  </code></pre>
  
  <p>The warnings:</p>
  
  <blockquote>
    <ol>
    <li>formValidationSetup is defined but never used</li>
    <li>refreshErrorMessages is defined but never used</li>
    </ol>
  </blockquote>
  
  <p>I've tried setting <em>undef</em> to <em>false</em> in the JSHint options, but I'm still getting these errors. Is there another option I should be setting? Form the <a href="http://www.jslint.com/lint.html#options">JSLint docs</a> for <em>undef</em>:</p>
  
  <blockquote>
    <p>true if variables and functions need not be declared before used. This
    is not available in strict mode.</p>
  </blockquote>