<commit_before>module.exports = {
  /* eslint-disable quotes */

  "env": {
    "browser": true,
    "node": true,
    "es6": true
  },

  "parser": "babel-eslint",

  "plugins": [
    "babel"
  ],

  "ecmaFeatures": {
    "arrowFunctions": true, // enable arrow functions
    "binaryLiterals": true, // enable binary literals
    "blockBindings": true, // enable let and const (aka block bindings)
    "classes": true, // enable classes
    "defaultParams": true, // enable default function parameters
    "destructuring": true, // enable destructuring
    "forOf": true, // enable for-of loops
    "generators": true, // enable generators
    "modules": true, // enable modules and global strict mode
    "objectLiteralComputedProperties": true, // enable computed object literal property names
    "objectLiteralDuplicateProperties": false, // enable duplicate object literal properties
    "objectLiteralShorthandMethods": false, // enable object literal shorthand methods
    "objectLiteralShorthandProperties": true, // enable object literal shorthand properties
    "octalLiterals": true, // enable octal literals
    "regexUFlag": true, // enable the regular expression u flag
    "regexYFlag": true, // enable the regular expression y flag
    "restParams": true, // enable the rest parameters
    "spread": true, // enable the spread operator for arrays
    "superInFunctions": true, // enable super references inside of functions
    "templateStrings": true, // enable template strings
    "unicodeCodePointEscapes": true, // enable code point escapes
    "globalReturn": false, // allow return statements in the global scope
    "jsx": true, // enable JSX
    "experimentalObjectRestSpread": false // experimental object rest/spread properties
  },

  "rules": {

/**
 * eslint-plugin-babel rule toggles
 */
    "babel/generator-star-spacing": [2, "after"],
    "babel/new-cap": 0,
    "babel/array-bracket-spacing": 0,
    "babel/object-curly-spacing": 0,
    "babel/object-shorthand": 0,
    "babel/arrow-parens": 0,
    "babel/no-await-in-loop": 2,

/**
 * ES6+
 */
    "arrow-body-style": 0,
    "arrow-spacing": 2,
    "constructor-super": 2,
    "no-confusing-arrow": 2,
    "no-class-assign": 2,
    "no-const-assign": 2,
    "no-dupe-class-members": 2,
    "no-this-before-super": 2,
    "no-var": 2,
    "prefer-arrow-callback": 0,
    "prefer-const": 2,
    "prefer-reflect": 0,
    "prefer-spread": 2,
    "prefer-template": 2,
    "require-yield": 0,
<commit_msg>Update linter to use native and non-deprecated rules<commit_after>module.exports = {
  /* eslint-disable quotes */

  "env": {
    "browser": true,
    "node": true,
    "es6": true
  },

  "parser": "babel-eslint",

  "plugins": [
    "babel"
  ],

  "ecmaFeatures": {
    "arrowFunctions": true, // enable arrow functions
    "binaryLiterals": true, // enable binary literals
    "blockBindings": true, // enable let and const (aka block bindings)
    "classes": true, // enable classes
    "defaultParams": true, // enable default function parameters
    "destructuring": true, // enable destructuring
    "forOf": true, // enable for-of loops
    "generators": true, // enable generators
    "modules": true, // enable modules and global strict mode
    "objectLiteralComputedProperties": true, // enable computed object literal property names
    "objectLiteralDuplicateProperties": false, // enable duplicate object literal properties
    "objectLiteralShorthandMethods": false, // enable object literal shorthand methods
    "objectLiteralShorthandProperties": true, // enable object literal shorthand properties
    "octalLiterals": true, // enable octal literals
    "regexUFlag": true, // enable the regular expression u flag
    "regexYFlag": true, // enable the regular expression y flag
    "restParams": true, // enable the rest parameters
    "spread": true, // enable the spread operator for arrays
    "superInFunctions": true, // enable super references inside of functions
    "templateStrings": true, // enable template strings
    "unicodeCodePointEscapes": true, // enable code point escapes
    "globalReturn": false, // allow return statements in the global scope
    "jsx": true, // enable JSX
    "experimentalObjectRestSpread": false // experimental object rest/spread properties
  },

  "rules": {

/**
 * eslint-plugin-babel rule toggles
 */
    "babel/new-cap": 0,
    "babel/array-bracket-spacing": 0,
    "babel/object-curly-spacing": 0,
    "babel/object-shorthand": 0,
    "babel/arrow-parens": 0,

/**
 * ES6+
 */
    "arrow-body-style": 0,
    "arrow-spacing": 2,
    "constructor-super": 2,
    "generator-star-spacing": [2, "after"],
    "no-await-in-loop": 2,
    "no-confusing-arrow": 2,
    "no-class-assign": 2,
    "no-const-assign": 2,
    "no-dupe-class-members": 2,
    "no-this-before-super": 2,
    "no-var": 2,
    "prefer-arrow-callback": 0,
    "prefer-const": 2,
    "prefer-reflect": 0,
    "prefer-spread": 2,
    "prefer-template": 2,
    "require-yield": 0,

{'fraction_non_alphanumeric': 0.1401719656068786, 'fraction_numerical': 0.009598080383923215, 'mean_word_length': 3.206896551724138, 'pattern_counts': {'":': 108, '<': 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': '2379664', 'n_tokens_mistral': 1585, 'n_tokens_neox': 1479, 'n_words': 441}