jshint.js 288 B

12345678910111213141516171819
  1. /* global module */
  2. 'use strict';
  3. module.exports = function( grunt ) {
  4. grunt.config.merge( {
  5. jshint: {
  6. files: [ '**/*.js' ],
  7. options: defaultConfig
  8. }
  9. } );
  10. grunt.loadNpmTasks( 'grunt-contrib-jshint' );
  11. };
  12. var defaultConfig = {
  13. 'globalstrict': true,
  14. 'validthis': true
  15. };