<commit_before>const gulp = require('gulp');
const webpack = require('webpack-stream');
const eslint = require('eslint');

gulp.task('webpack:dev', () => {
  gulp.src('./app/js/entry.js')
    .pipe(webpack({
      output: {
        filename: 'bundle.js'
      }
    }))
    .pipe(gulp.dest('./build'));
});

gulp.task('static:dev', () => {
  gulp.src('app/**/*.html')
    .pipe(gulp.dest('./build'));
});

gulp.task('css:dev', () => {
  gulp.src('app/css/*.css')
    .pipe(gulp.dest('./build'));
});

gulp.task('eslint:BE', () => {
  return gulp.src('.eslintrc')
    .pipe(eslint.format());
});

gulp.task('eslint:FE', () => {
  return gulp.src('app/.eslintrc')
    .pipe(eslint.format());
});

gulp.task('default', ['webpack:dev', 'static:dev', 'css:dev', 'eslint:BE', 'eslint:FE']);
gulp.task('build:dev', ['webpack:dev', 'static:dev', 'css:dev', 'eslint:BE', 'eslint:FE']);<commit_msg>fixed gulp linting<commit_after>const gulp = require('gulp');
const webpack = require('webpack-stream');
const eslint = require('eslint');

var browerFiles = ['/server.js'];
var appFiles = ['app/js/*.js', 'app/css/.css', 'app/index.html'];

gulp.task('webpack:dev', () => {
  gulp.src('./app/js/entry.js')
    .pipe(webpack({
      output: {
        filename: 'bundle.js'
      }
    }))
    .pipe(gulp.dest('./build'));
});

gulp.task('static:dev', () => {
  gulp.src('app/**/*.html')
    .pipe(gulp.dest('./build'));
});

gulp.task('css:dev', () => {
  gulp.src('app/css/*.css')
    .pipe(gulp.dest('./build'));
});

gulp.task('lint:BE', () => {
  return gulp.src(browerFiles)
    .pipe(eslint())
    .pipe(eslint.format());
});

gulp.task('lint:FE', () => {
  return gulp.src(appFiles)
    .pipe(eslint())
    .pipe(eslint.format());
});

gulp.task('protractor', ['lint:BE', 'lint:FE']);
gulp.task('protractor', ['']);

gulp.task('build:dev', ['webpack:dev', 'static:dev', 'css:dev']);
gulp.task('default', ['webpack:dev', 'static:dev', 'css:dev']);
{'fraction_non_alphanumeric': 0.2829896907216495, 'fraction_numerical': 0.0, 'mean_word_length': 3.9897172236503855, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 13, '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': '3768694', 'n_tokens_mistral': 759, 'n_tokens_neox': 751, 'n_words': 95}