<commit_before>import browserSyncModule from 'browser-sync';
import Builder from 'systemjs-builder';
import del from 'del';
import eslint from 'gulp-eslint';
import gulp from 'gulp';
import jade from 'gulp-jade';
import notify from 'gulp-notify';

const browserSync = browserSyncModule.create();

gulp.task('clean', () => {
  return del('.tmp');
});

gulp.task('jade', () => {
  return gulp.src('test/*.jade')
    .pipe(jade())
    .pipe(gulp.dest('.tmp'));
});

gulp.task('bundle', () => {
  const builder = new Builder();
  builder.loadConfig('./config.js');
  return builder.build('test/bundleme.js', '.tmp/bundle.js')
    .then(() => {
      return gulp.src(['config.js', 'jspm_packages/system.js'])
        .pipe(gulp.dest('.tmp'));
    });
});

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

gulp.task('test:runtime', ['jade'], () => {
  browserSync.init({
    server: {
      baseDir: ['.', 'src'],
      index: '.tmp/runtime-test.html',
    },
  });
  gulp.watch('src/**.js').on('change', browserSync.reload);
});
<commit_msg>Added lint exception for sass-builder.js<commit_after>import browserSyncModule from 'browser-sync';
import Builder from 'systemjs-builder';
import del from 'del';
import eslint from 'gulp-eslint';
import gulp from 'gulp';
import jade from 'gulp-jade';
import notify from 'gulp-notify';

const browserSync = browserSyncModule.create();

gulp.task('clean', () => {
  return del('.tmp');
});

gulp.task('jade', () => {
  return gulp.src('test/*.jade')
    .pipe(jade())
    .pipe(gulp.dest('.tmp'));
});

gulp.task('bundle', () => {
  const builder = new Builder();
  builder.loadConfig('./config.js');
  return builder.build('test/bundleme.js', '.tmp/bundle.js')
    .then(() => {
      return gulp.src(['config.js', 'jspm_packages/system.js'])
        .pipe(gulp.dest('.tmp'));
    });
});

gulp.task('lint', () => {
  // Can't use ES2015 in sass-builder.js at the moment
  // See https://github.com/systemjs/systemjs/issues/774
  return gulp.src(['./src/**/*.js', '!./src/sass-builder.js'])
    .pipe(eslint())
    .pipe(eslint.format())
    .pipe(eslint.failOnError());
});

gulp.task('test:runtime', ['jade'], () => {
  browserSync.init({
    server: {
      baseDir: ['.', 'src'],
      index: '.tmp/runtime-test.html',
    },
  });
  gulp.watch('src/**.js').on('change', browserSync.reload);
});

{'fraction_non_alphanumeric': 0.2326346074804768, 'fraction_numerical': 0.002877106452938759, 'mean_word_length': 3.609848484848485, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 15, 'https://': 1, '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': '4637199', 'n_tokens_mistral': 867, 'n_tokens_neox': 860, 'n_words': 153}