<commit_before>"use strict";

module.exports = {
  "parserOptions": {
    "sourceType": "module"
  },
  "rules": {
    // require braces in arrow function body
    "arrow-body-style": 0,
    // require parens in arrow function arguments
    "arrow-parens": 2,
    // require space before/after arrow function's arrow
    "arrow-spacing": 2,
    // verify super() callings in constructors
    "constructor-super": 2,
    // enforce the spacing around the * in generator functions
    "generator-star-spacing": 2,
    // disallow modifying variables of class declarations
    "no-class-assign": 2,
    // disallow arrow functions where they could be confused with comparisons
    "no-confusing-arrow": 0,
    // disallow modifying variables that are declared using const
    "no-const-assign": 2,
    // disallow duplicate name in class members
    "no-dupe-class-members": 2,
    // disallow duplicate module imports
    "no-duplicate-imports": 0,
    // disallow use of the new operator with the Symbol object
    "no-new-symbol": 0,
    // restrict usage of specified modules when loaded by import declaration
    "no-restricted-imports": 0,
    // disallow to use this/super before super() calling in constructors.
    "no-this-before-super": 2,
    // disallow unnecessary computed property keys in object literals
    "no-useless-computed-key": 0,
    // disallow unnecessary constructor
    "no-useless-constructor": 0,
    // require let or const instead of var
    "no-var": 2,
    // require method and property shorthand syntax for object literals
    "object-shorthand": 2,
    // suggest using arrow functions as callbacks
    "prefer-arrow-callback": 1,
    // suggest using of const declaration for variables that are never modified after declared
    "prefer-const": 2,
    // suggest using Reflect methods where applicable
    "prefer-reflect": 0,
    // suggest using the rest parameters instead of arguments
    "prefer-rest-params": 0,
    // suggest using the spread operator instead of .apply()
    "prefer-spread": 2,
    // suggest using template literals instead of strings concatenation
    "prefer-template": 1,
    // disallow generator functions that do not have yield
    "require-yield": 2,
    // enforce sorted import declarations within modules
    "sort-imports": 0,
    // enforce spacing around embedded expressions of template strings
    "template-curly-spacing": 0,
    // enforce spacing around the * in yield* expressions
    "yield-star-spacing": 0
  },
  "env": {
    "es6": true,
    "browser": true,
    "node": true,
    "mocha": true
  },
  "extends": "eslint:recommended"
};<commit_msg>Update eslint envs to include worker<commit_after>"use strict";

module.exports = {
  "parserOptions": {
    "sourceType": "module"
  },
  "rules": {
    // require braces in arrow function body
    "arrow-body-style": 0,
    // require parens in arrow function arguments
    "arrow-parens": 2,
    // require space before/after arrow function's arrow
    "arrow-spacing": 2,
    // verify super() callings in constructors
    "constructor-super": 2,
    // enforce the spacing around the * in generator functions
    "generator-star-spacing": 2,
    // disallow modifying variables of class declarations
    "no-class-assign": 2,
    // disallow arrow functions where they could be confused with comparisons
    "no-confusing-arrow": 0,
    // disallow modifying variables that are declared using const
    "no-const-assign": 2,
    // disallow duplicate name in class members
    "no-dupe-class-members": 2,
    // disallow duplicate module imports
    "no-duplicate-imports": 0,
    // disallow use of the new operator with the Symbol object
    "no-new-symbol": 0,
    // restrict usage of specified modules when loaded by import declaration
    "no-restricted-imports": 0,
    // disallow to use this/super before super() calling in constructors.
    "no-this-before-super": 2,
    // disallow unnecessary computed property keys in object literals
    "no-useless-computed-key": 0,
    // disallow unnecessary constructor
    "no-useless-constructor": 0,
    // require let or const instead of var
    "no-var": 2,
    // require method and property shorthand syntax for object literals
    "object-shorthand": 2,
    // suggest using arrow functions as callbacks
    "prefer-arrow-callback": 1,
    // suggest using of const declaration for variables that are never modified after declared
    "prefer-const": 2,
    // suggest using Reflect methods where applicable
    "prefer-reflect": 0,
    // suggest using the rest parameters instead of arguments
    "prefer-rest-params": 0,
    // suggest using the spread operator instead of .apply()
    "prefer-spread": 2,
    // suggest using template literals instead of strings concatenation
    "prefer-template": 1,
    // disallow generator functions that do not have yield
    "require-yield": 2,
    // enforce sorted import declarations within modules
    "sort-imports": 0,
    // enforce spacing around embedded expressions of template strings
    "template-curly-spacing": 0,
    // enforce spacing around the * in yield* expressions
    "yield-star-spacing": 0
  },
  "env": {
    "es6": true,
    "browser": true,
    "worker": true,
    "node": true,
    "mocha": true
  },
  "extends": "eslint:recommended"
};
{'fraction_non_alphanumeric': 0.104727820681861, 'fraction_numerical': 0.01054812582407233, 'mean_word_length': 2.962686567164179, 'pattern_counts': {'":': 73, '<': 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': '7503002', 'n_tokens_mistral': 1539, 'n_tokens_neox': 1440, 'n_words': 549}