How to use the jshint.tests.src function in jshint

To help you get started, we’ve selected a few jshint examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github jamiebuilds / marionette-wires / tasks / events.js View on Github external
'test/unit/**/*.spec.js': function(config, filepath) {
    config['mochaTest.tests.src']    = ['test/setup/helpers.js', filepath];
    config['jshint.javascripts.src'] = [];
    config['jshint.tests.src']       = [filepath];
  },
  'src/**/*.js': function(config, filepath) {