<commit_before>'use strict';

module.exports = function(grunt) {

    // Project configuration.
    grunt.initConfig({

        jshint: {
            options: {
                jshintrc: '.jshintrc'
            },
            src: {
                src: ['src/*.js', 'bin/uncss']
            },
            tests: {
                src: 'tests/*.js'
            }
        },

        eslint: {
            options: {
                config: '.eslintrc'
            },
            src: {
                src: '<%= jshint.src.src %>'
            },
            tests: {
                src: '<%= jshint.tests.src %>'
            }
        },

        mochacov: {
            options: {
                files: 'tests/*.js',
                slow: 7500,
                timeout: 20000
            },
            unit: {
                options: {
                    reporter: 'spec'
                }
            },
            coverage: {
                options: {
                    reporter: 'html-cov'
                }
            },
            coveralls: {
                options: {
                    coveralls: {
                        serviceName: 'travis-ci'
                    }
                }
            }
        }
    });

    grunt.loadNpmTasks('grunt-contrib-jshint');
    grunt.loadNpmTasks('grunt-eslint');
    grunt.loadNpmTasks('grunt-mocha-cov');

    require('time-grunt')(grunt);

    grunt.registerTask('cover', ['mochacov:coverage']);
    grunt.registerTask('test', ['jshint', 'eslint','mochacov:unit']);
    grunt.registerTask('travis', ['test', 'mochacov:coveralls']);
    grunt.registerTask('default', 'test');
};
<commit_msg>Update Gruntfile.js.<commit_after>'use strict';

module.exports = function(grunt) {

    // Project configuration.
    grunt.initConfig({

        jshint: {
            options: {
                jshintrc: '.jshintrc'
            },
            src: {
                src: ['src/*.js', 'bin/uncss']
            },
            tests: {
                src: 'tests/*.js'
            }
        },

        eslint: {
            options: {
                config: '.eslintrc'
            },
            src: {
                src: '<%= jshint.src.src %>'
            },
            tests: {
                src: '<%= jshint.tests.src %>'
            }
        },

        mochacov: {
            options: {
                files: 'tests/*.js',
                slow: 7500,
                timeout: 20000
            },
            unit: {
                options: {
                    reporter: 'spec'
                }
            },
            coverage: {
                options: {
                    reporter: 'html-cov'
                }
            },
            coveralls: {
                options: {
                    coveralls: {
                        serviceName: 'travis-ci'
                    }
                }
            }
        }
    });

    grunt.loadNpmTasks('grunt-contrib-jshint');
    grunt.loadNpmTasks('grunt-eslint');
    grunt.loadNpmTasks('grunt-mocha-cov');

    require('time-grunt')(grunt);

    grunt.registerTask('lint', ['jshint', 'eslint']);
    grunt.registerTask('test', ['lint','mochacov:unit']);
    grunt.registerTask('travis', ['test', 'mochacov:coveralls']);
    grunt.registerTask('default', 'test');
};

{'fraction_non_alphanumeric': 0.14147812971342383, 'fraction_numerical': 0.005429864253393665, 'mean_word_length': 1.0096969696969698, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, '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': '7407251', 'n_tokens_mistral': 1000, 'n_tokens_neox': 933, 'n_words': 127}