<commit_before>'use strict';

module.exports = function(grunt) {
	// Project configuration.
	grunt.initConfig({
		pkg: grunt.file.readJSON('package.json'),
		jshint: {
			options: {
				jshintrc: '.jshintrc',
			},
			all: [
				'Gruntfile.js',
				'tasks/*.js',
			],
		},
		checkwpversion: {
			options:{
				readme: 'tests/fixtures/readme.txt',
				plugin: 'tests/fixtures/my-plugin.php',
			},
			check: {
			    version1: 'plugin',
			    version2: 'readme',
				compare: '==',
			},
		}
	});

	// Actually load this plugin's task(s).
	grunt.loadTasks('tasks');

	// These plugins provide necessary tasks.
	grunt.loadNpmTasks('grunt-contrib-jshint');

	// By default, lint and run all tests.
	grunt.registerTask('default', ['jshint']);
};<commit_msg>Update gruntfile examples<commit_after>'use strict';

module.exports = function(grunt) {
	// Project configuration.
	grunt.initConfig({
		pkg: grunt.file.readJSON('package.json'),
		jshint: {
			options: {
				jshintrc: '.jshintrc',
			},
			all: [
				'Gruntfile.js',
				'tasks/*.js',
			],
		},
		checkwpversion: {
			options:{
				readme: 'tests/fixtures/readme.txt',
				plugin: 'tests/fixtures/my-plugin.php',
			},
			plugin_equals_stable: {
			    version1: 'plugin',
			    version2: 'readme',
				compare: '==',
			},
			plugin_equals_package: {
			    version1: 'plugin',
			    version2: '<%= pkg.version %>',
				compare: '==',
			},
		}
	});

	// Actually load this plugin's task(s).
	grunt.loadTasks('tasks');

	// These plugins provide necessary tasks.
	grunt.loadNpmTasks('grunt-contrib-jshint');

	// By default, lint and run all tests.
	grunt.registerTask('default', ['jshint']);
};
{'fraction_non_alphanumeric': 0.178743961352657, 'fraction_numerical': 0.0036231884057971015, 'mean_word_length': 3.0316301703163018, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, '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': '1113878', 'n_tokens_mistral': 707, 'n_tokens_neox': 593, 'n_words': 106}