<commit_before>var gulp = require('gulp');
var mocha = require('gulp-mocha');
var nodemon = require('gulp-nodemon');
var eslint = require('gulp-eslint');
var jscs = require('gulp-jscs');
var babel = require('babel-core/register')

gulp.task('default', function() {
  nodemon({
    script: 'server.js',
    ext: 'js html',
    env: {
      'NODE_ENV': 'development'
    }
  });
});

gulp.task('test', function() {
  return gulp.src(['tests/**/*.js'], {
    read: false
  }).pipe(mocha({
    reporter: 'nyan',
    compilers: {
      js: babel
    }
  }));
});

gulp.task('lint', function() {
  return gulp.src(['bot/**/*.js', 'tests/**/*.js'])
    .pipe(eslint())
    .pipe(eslint.format())
    .pipe(eslint.failOnError());
});

gulp.task('style', function() {
  return gulp.src(['bot/**/*.js', 'tests/**/*.js'])
    .pipe(jscs())
    .pipe(jscs.reporter());
});<commit_msg>Replaces functions with arrow functions in the gulp file<commit_after>var gulp = require('gulp');
var mocha = require('gulp-mocha');
var nodemon = require('gulp-nodemon');
var eslint = require('gulp-eslint');
var jscs = require('gulp-jscs');
var babel = require('babel-core/register')

gulp.task('default', () => {
  nodemon({
    script: 'server.js',
    ext: 'js html',
    env: {
      'NODE_ENV': 'development'
    }
  });
});

gulp.task('test', () => {
  return gulp.src(['tests/**/*.js'], {
    read: false
  }).pipe(mocha({
    reporter: 'nyan',
    compilers: {
      js: babel
    }
  }));
});

gulp.task('lint', () => {
  return gulp.src(['bot/**/*.js', 'tests/**/*.js'])
    .pipe(eslint())
    .pipe(eslint.format())
    .pipe(eslint.failOnError());
});

gulp.task('style', () => {
  return gulp.src(['bot/**/*.js', 'tests/**/*.js'])
    .pipe(jscs())
    .pipe(jscs.reporter());
});
{'fraction_non_alphanumeric': 0.2501414827391058, 'fraction_numerical': 0.0, 'mean_word_length': 3.365432098765432, 'pattern_counts': {'":': 0, '<': 3, '<?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': '285309', 'n_tokens_mistral': 680, 'n_tokens_neox': 674, 'n_words': 116}