<commit_before>var blint = require("blint");

["mode", "lib", "addon", "keymap"].forEach(function(dir) {
  blint.checkDir(dir, {
    browser: true,
    allowedGlobals: ["CodeMirror", "define", "test", "requirejs"],
    blob: "// CodeMirror, copyright (c) by <NAME> and others\n// Distributed under an MIT license: http:\/\/codemirror.net\/LICENSE\n\n"
  });
});

module.exports = {ok: blint.success()};
<commit_msg>Add lint for src/<commit_after>var blint = require("blint");

["mode", "lib", "addon", "keymap"].forEach(function(dir) {
  blint.checkDir(dir, {
    browser: true,
    allowedGlobals: ["CodeMirror", "define", "test", "requirejs"],
    blob: "// CodeMirror, copyright (c) by <NAME> and others\n// Distributed under an MIT license: http:\/\/codemirror.net\/LICENSE\n\n"
  });
});

["src"].forEach(function(dir) {
  blint.checkDir(dir, {
    browser: true,
    blob: "// CodeMirror, copyright (c) by <NAME> and others\n// Distributed under an MIT license: http:\/\/codemirror.net\/LICENSE\n\n",
    ecmaVersion: 6
  });
});

module.exports = {ok: blint.success()};

{'fraction_non_alphanumeric': 0.20612813370473537, 'fraction_numerical': 0.0009285051067780873, 'mean_word_length': 4.061032863849765, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, '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': '4281016', 'n_tokens_mistral': 391, 'n_tokens_neox': 381, 'n_words': 87}