<commit_before>module.exports = function(grunt) {
  grunt.initConfig({
    pkg: grunt.file.readJSON('package.json'),
    uglify: {
      options: {
        banner: '/*\n' + ' * @author  <NAME>\n' + ' * @license https://github.com/zeusdeux/isInViewport/blob/master/license.md MIT\n' + ' */\n'
      },
      dist: {
        files: {
          'lib/<%= pkg.name %>.min.js': ['lib/<%= pkg.name %>.js']
        }
      }
    },
    jshint: {
      src: [
        'Gruntfile.js',
        'lib/isInViewport.js',
        'examples/*.js'
      ],
      options: {
        eqeqeq: true,
        immed: true,
        indent: 2,
        latedef: 'nofunc',
        newcap: true,
        noempty: true,
        quotmark: 'single',
        undef: true,
        unused: true,
        globals: {},
        trailing: true,
        browser: true,
        devel: true,
        jquery: true,
        node: true<commit_msg>added tests/*.js to the linting stage<commit_after>module.exports = function(grunt) {
  grunt.initConfig({
    pkg: grunt.file.readJSON('package.json'),
    uglify: {
      options: {
        banner: '/*\n' + ' * @author  <NAME>\n' + ' * @license https://github.com/zeusdeux/isInViewport/blob/master/license.md MIT\n' + ' */\n'
      },
      dist: {
        files: {
          'lib/<%= pkg.name %>.min.js': ['lib/<%= pkg.name %>.js']
        }
      }
    },
    jshint: {
      src: [
        'Gruntfile.js',
        'lib/isInViewport.js',
        'examples/*.js',
        'tests/*.js'
      ],
      options: {
        eqeqeq: true,
        immed: true,
        indent: 2,
        latedef: 'nofunc',
        newcap: true,
        noempty: true,
        quotmark: 'single',
        undef: true,
        unused: true,
        globals: {
          'describe': true,
          'should': true,
          'it':true,
          'before': true,
          'after': true
        },
        trailing: true,
        browser: true,
        devel: true,
        jquery: true,
        node: true
{'fraction_non_alphanumeric': 0.1663306451612903, 'fraction_numerical': 0.0010080645161290322, 'mean_word_length': 1.5158428390367553, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3975129', 'n_tokens_mistral': 703, 'n_tokens_neox': 685, 'n_words': 130}