<commit_before>module.exports = {
  root: true,
  env: {
    node: true,
    mocha: true,
    es6: true
  },
  extends: 'eslint:recommended',
  parserOptions: {
    ecmaVersion: 2020
  },
  rules: {
    /* Strict Mode */
    strict: 0,

    /* Possible Errors are covered in "eslint:recommended" */
    'no-extra-parens': 0,
    'no-prototype-builtins': 1,
    'no-template-curly-in-string': 1,
    'no-unsafe-negation': 1,

    /* Best Practices */
    'block-scoped-var': 1,
    complexity: 1,
    'consistent-return': 1,
    curly: 1,
    'default-case': 1,
    'dot-location': [1, 'property'],
    'dot-notation': 1,
    eqeqeq: 1,
    'guard-for-in': 1,
    'no-alert': 1,
    'no-caller': 1,
    'no-div-regex': 1,
    'no-else-return': 1,
    'no-eval': 1,
    'no-extend-native': 1,
    'no-extra-bind': 1,
    'no-extra-label': 1,
    'no-floating-decimal': 1,
    'no-implicit-coercion': 1,
    'no-implicit-globals': 1,
    'no-multi-spaces': 1,
    'no-param-reassign': 1,
    'no-return-assign': 1,
    'no-return-await': 1,
    'no-useless-call': 1,
    radix: 1,
    'vars-on-top': 1,
    yoda: [1, 'never', { exceptRange: true }],

    /* Stylistic Issues */
    'array-bracket-spacing': [1, 'never'],
    'array-callback-return': 1,
    'block-spacing': 1,
    'brace-style': [1, '1tbs', { allowSingleLine: true }],
    'comma-dangle': 1,
    'comma-spacing': 1,
    'comma-style': 1,
    'computed-property-spacing': 1,
    'eol-last': 1,
    'func-call-spacing': 1,
    indent: [1, 2, { VariableDeclarator: { var: 2, let: 2, const: 3 }, SwitchCase: 1, ObjectExpression: 'first', ImportDeclaration: 'first' }],
    'jsx-quotes': [1, 'prefer-single'],
    'key-spacing': 1,
    'keyword-spacing': 1,
    'linebreak-style': [1, 'unix'],
    'newline-after-var': 1,
    'newline-before-return': 1,
    'no-lonely-if': 1,
    'no-multiple-empty-lines': [1, { max: 1, maxEOF: 0, maxBOF: 0 }],
    'no-tabs': 1,
    'no-trailing-spaces': 1,
    'no-underscore-dangle': 1,
    'object-curly-spacing': [1, 'always'],
    'padded-blocks': [1, 'never', { allowSingleLineBlocks: false }],
    'quote-props': [1, 'as-needed'],
    quotes: [1, 'single', { avoidEscape: true, allowTemplateLiterals: true }],
    'semi-spacing': 1,
    semi: [1, 'always'],
    'one-var': [1, {
      initialized: 'never'
    }],
    'sort-vars': 0,
    'space-before-blocks': 1,
    'space-before-function-paren': [1, { anonymous: 'always', named: 'never' }],
    'space-in-parens': 1,
    'space-infix-ops': 1,
    'space-unary-ops': 1,
    'spaced-comment': 1,
    'wrap-regex': 1,

    /* Variables */
    'init-declarations': 1,
    'no-catch-shadow': 0,
    'no-label-var': 1,
    'no-restricted-globals': 1,
    'no-shadow': 0,
    'no-shadow-restricted-names': 1,
    'no-undef-init': 1,
    'no-unused-vars': [1, {
      args: 'after-used',
      argsIgnorePattern: '^_',
      ignoreRestSiblings: true,
      vars: 'all',<commit_msg>Replaces deprecated rules.<commit_after>module.exports = {
  root: true,
  env: {
    node: true,
    mocha: true,
    es6: true
  },
  extends: 'eslint:recommended',
  parserOptions: {
    ecmaVersion: 2020
  },
  rules: {
    /* Strict Mode */
    strict: 0,

    /* Possible Errors are covered in "eslint:recommended" */
    'no-extra-parens': 0,
    'no-prototype-builtins': 1,
    'no-template-curly-in-string': 1,
    'no-unsafe-negation': 1,

    /* Best Practices */
    'block-scoped-var': 1,
    complexity: 1,
    'consistent-return': 1,
    curly: 1,
    'default-case': 1,
    'dot-location': [1, 'property'],
    'dot-notation': 1,
    eqeqeq: 1,
    'guard-for-in': 1,
    'no-alert': 1,
    'no-caller': 1,
    'no-div-regex': 1,
    'no-else-return': 1,
    'no-eval': 1,
    'no-extend-native': 1,
    'no-extra-bind': 1,
    'no-extra-label': 1,
    'no-floating-decimal': 1,
    'no-implicit-coercion': 1,
    'no-implicit-globals': 1,
    'no-multi-spaces': 1,
    'no-param-reassign': 1,
    'no-return-assign': 1,
    'no-return-await': 1,
    'no-useless-call': 1,
    radix: 1,
    'vars-on-top': 1,
    yoda: [1, 'never', { exceptRange: true }],

    /* Stylistic Issues */
    'array-bracket-spacing': [1, 'never'],
    'array-callback-return': 1,
    'block-spacing': 1,
    'brace-style': [1, '1tbs', { allowSingleLine: true }],
    'comma-dangle': 1,
    'comma-spacing': 1,
    'comma-style': 1,
    'computed-property-spacing': 1,
    'eol-last': 1,
    'func-call-spacing': 1,
    indent: [1, 2, { VariableDeclarator: { var: 2, let: 2, const: 3 }, SwitchCase: 1, ObjectExpression: 'first', ImportDeclaration: 'first' }],
    'jsx-quotes': [1, 'prefer-single'],
    'key-spacing': 1,
    'keyword-spacing': 1,
    'linebreak-style': [1, 'unix'],
    'no-lonely-if': 1,
    'no-multiple-empty-lines': [1, { max: 1, maxEOF: 0, maxBOF: 0 }],
    'no-tabs': 1,
    'no-trailing-spaces': 1,
    'no-underscore-dangle': 1,
    'object-curly-spacing': [1, 'always'],
    'one-var-declaration-per-line': [1, 'always'],
    'padded-blocks': [1, 'never', { allowSingleLineBlocks: false }],
    'padding-line-between-statements': [1, {
      blankLine: 'always',
      prev: ['const', 'let', 'var'],
      next: '*'
    }, {
      blankLine: 'any',
      prev: ['const', 'let', 'var'],
      next: ['const', 'let', 'var']
    }, {
      blankLine: 'always',
      prev: '*',
      next: 'return'
    }],
    'quote-props': [1, 'as-needed'],
    quotes: [1, 'single', { avoidEscape: true, allowTemplateLiterals: true }],
    'semi-spacing': 1,
    semi: [1, 'always'],
    'one-var': [1, {
      initialized: 'never'
    }],
    'sort-vars': 0,
    'space-before-blocks': 1,
    'space-before-function-paren': [1, { anonymous: 'always', named: 'never' }],
    'space-in-parens': 1,
    'space-infix-ops': 1,
    'space-unary-ops': 1,
    'spaced-comment': 1,
    'wrap-regex': 1,

    /* Variables */
    'init-declarations': 1,
    'no-label-var': 1,
    'no-restricted-globals': 1,
    'no-shadow': 0,
    'no-shadow-restricted-names': 1,
    'no-undef-init': 1,
    'no-unused-vars': [1, {
      args: 'after-used',
      argsIgnorePattern: '^_',
      ignoreRestSiblings: true,
      vars: 'all',
{'fraction_non_alphanumeric': 0.2099528378598146, 'fraction_numerical': 0.029760936737680925, 'mean_word_length': 2.6049237983587337, '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': '1984184', 'n_tokens_mistral': 2614, 'n_tokens_neox': 2413, 'n_words': 500}