<commit_before>// Any copyright is dedicated to the Public Domain.
// http://creativecommons.org/publicdomain/zero/1.0/

import lint from 'mocha-eslint';

const paths = [
  './app',
  './build',
  './shared',
  './test',
  './ui',
];

const options = {
  alwaysWarn: false,
  timeout: 10000,
};

lint(paths, options);<commit_msg>Make eslint run for the root scripts as well<commit_after>// Any copyright is dedicated to the Public Domain.
// http://creativecommons.org/publicdomain/zero/1.0/

import lint from 'mocha-eslint';

const paths = [
  '*.js',
  './app',
  './build',
  './shared',
  './test',
  './ui',
];

const options = {
  alwaysWarn: false,
  timeout: 10000,
};

lint(paths, options);
{'fraction_non_alphanumeric': 0.18454935622317598, 'fraction_numerical': 0.020028612303290415, 'mean_word_length': 3.191616766467066, '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': '5244993', 'n_tokens_mistral': 254, 'n_tokens_neox': 251, 'n_words': 66}