<commit_before>var wallabyWebpack = require('wallaby-webpack');
var webpackConfig = require('./webpack.config');

module.exports = function (wallaby) {
  webpackConfig.module = {}
  return {
    compilers: {
      "scripts/dash_banner/**/*.js": wallaby.compilers.babel(),
      "spec/**/*.js": wallaby.compilers.babel()
    },

    files: [
      {pattern: "bower_components/underscore/underscore.js", load: true},
      {pattern: "bower_components/jquery/dist/jquery.js", load: true},
      {pattern: "bower_components/backbone/backbone.js", load: true},
      {pattern: "scripts/dash_banner/foo.js", load: true}
    ],

    postprocessor: wallabyWebpack(webpackConfig),

    setup: function () {
      window.__moduleBundler.loadTests();
    },

    tests: [
      {pattern: "spec/dash_banner/foo_spec.js", load: false}
    ]
  };
<commit_msg>Fix Wallaby<commit_after>var wallabyWebpack = require('wallaby-webpack');
var webpackConfig = require('./webpack.config');
var path = require("path");

const PROJECT_ROOT = path.resolve(__dirname);

module.exports = function (wallaby) {
  webpackConfig.devtool = "eval-source-map"
  return {
    compilers: {
      "scripts/**/*.js": wallaby.compilers.babel(),
      "spec/**/*.js": wallaby.compilers.babel()
    },

    files: [
      {pattern: "bower_components/jquery/dist/jquery.js", load: true},
      {pattern: "bower_components/jasmine-jquery/lib/jasmine-jquery.js", load: true},
      {pattern: "scripts/**/*.ejs", load: false},
      {pattern: "spec/dash_banner/view_spec.js", ignore: true}
    ],

    postprocessor: wallabyWebpack(webpackConfig),

    setup: function () {
      window.__moduleBundler.loadTests();
    },

    tests: [
      {pattern: "spec/dash_banner/view_spec.js", load: false}
    ]
  };

{'fraction_non_alphanumeric': 0.16770538243626062, 'fraction_numerical': 0.0, 'mean_word_length': 3.45959595959596, 'pattern_counts': {'":': 4, '<': 3, '<?xml version=': 0, '>': 3, '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': '5066134', 'n_tokens_mistral': 593, 'n_tokens_neox': 574, 'n_words': 94}