<commit_before>/* global before */

if (typeof process === 'object') {
  module.exports = function () {
    var jsdom = require('mocha-jsdom')
    jsdom()

    before(function () {
      global.expect = require('expect')
      global.onmount = require('../index')
    })
  }
} else {
  if (window.$) {
    window.onmount = $.onmount
  }
  window.require = function () { /* noop */ }
}
<commit_msg>Fix linter errors<commit_after>/* global before */

if (typeof process === 'object') {
  module.exports = function () {
    var jsdom = require('mocha-jsdom')
    jsdom()

    before(function () {
      global.expect = require('expect')
      global.onmount = require('../index')
    })
  }
} else {
  if (window.$) window.onmount = window.$.onmount
  window.require = function () { /* noop */ }
}

{'fraction_non_alphanumeric': 0.18238993710691823, 'fraction_numerical': 0.0, 'mean_word_length': 2.685185185185185, 'pattern_counts': {'":': 0, '<': 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': '3339290', 'n_tokens_mistral': 260, 'n_tokens_neox': 255, 'n_words': 54}