<commit_before>var
	config = require('../config'),
	notification = require('../utils/notification'),
	paths = require('../utils/paths')('scripts'),
	task,

	ModernizrPlugin = require('modernizr-webpack-plugin'),
	eslint = require('gulp-eslint'),
	gulp = require('gulp'),
	named = require('vinyl-named'),
	summary = require('engage-eslint-summary'),
	webpack = require('webpack-stream');

gulp.task('scripts.lint', function() {
	return gulp
		.src(paths.src)
		.pipe(eslint())
		.pipe(eslint.format(summary))
		.pipe(
			eslint.failOnError()
				.on('error', notification({
					title: 'JavaScript Error',
					subtitle: [
						'<%= options.relative(options.cwd, error.fileName) %>',
						'<%= error.lineNumber %>',
					].join(':'),
					message: '<%= error.message %>',
					open: 'file://<%= error.fileName %>',
				}))
		)
		.pipe(eslint.failAfterError());
});

gulp.task('scripts.lint', function() {
	return gulp
		.src(paths.src)
		.pipe(eslint())
		.pipe(eslint.format())
		.pipe(eslint.failAfterError());
});

gulp.task('scripts.compile', function() {
	return gulp
		.src(paths.entries())<commit_msg>Fixed scripts.lint.full task<commit_after>var
	config = require('../config'),
	notification = require('../utils/notification'),
	paths = require('../utils/paths')('scripts'),
	task,

	ModernizrPlugin = require('modernizr-webpack-plugin'),
	eslint = require('gulp-eslint'),
	gulp = require('gulp'),
	named = require('vinyl-named'),
	summary = require('engage-eslint-summary'),
	webpack = require('webpack-stream');

gulp.task('scripts.lint', function() {
	return gulp
		.src(paths.src)
		.pipe(eslint())
		.pipe(eslint.format(summary))
		.pipe(
			eslint.failOnError()
				.on('error', notification({
					title: 'JavaScript Error',
					subtitle: [
						'<%= options.relative(options.cwd, error.fileName) %>',
						'<%= error.lineNumber %>',
					].join(':'),
					message: '<%= error.message %>',
					open: 'file://<%= error.fileName %>',
				}))
		)
		.pipe(eslint.failAfterError());
});

gulp.task('scripts.lint.full', function() {
	return gulp
		.src(paths.src)
		.pipe(eslint())
		.pipe(eslint.format())
		.pipe(eslint.failAfterError());
});

gulp.task('scripts.compile', function() {
	return gulp
		.src(paths.entries())
{'fraction_non_alphanumeric': 0.21492403932082216, 'fraction_numerical': 0.0, 'mean_word_length': 4.020179372197309, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '1334308', 'n_tokens_mistral': 879, 'n_tokens_neox': 766, 'n_words': 117}