<commit_before>module.exports = {
  env: {
    browser: true,
    es6: true,
  },

  extends: 'eslint:recommended',

  parserOptions: {
    ecmaVersion: 8,
    sourceType: 'module',
  },

  rules: {
    'no-console':  ['warn', {allow: ['info', 'warn', 'error']}],
    'no-debugger': ['warn'],

    'arrow-parens':                ['error', 'as-needed'],
    'camelcase':                   ['error', {'properties': 'always'}],
    'comma-dangle':                ['error', 'always-multiline'],
    'comma-spacing':               ['error', {'before': false, 'after': true}],
    'eol-last':                    ['error'],
    'eqeqeq':                      ['error'],
    'indent':                      ['error', 2, {SwitchCase: 1}],
    'linebreak-style':             ['error', 'unix'],
    'multiline-ternary':           ['error', 'never'],
    'no-unused-expressions':       ['error'],
    'no-use-before-define':        ['error', {classes: false}],
    'object-curly-spacing':        ['error', 'never'],
    'object-shorthand':            ['error', 'always'],
    'quotes':                      ['error', 'backtick'],
    'semi':                        ['error', 'always'],
    'space-before-blocks':         ['error', 'always'],
    'space-before-function-paren': ['error', 'never'],
  },
};
<commit_msg>use 2017 notation<commit_after>module.exports = {
  env: {
    browser: true,
    es6: true,
  },

  extends: 'eslint:recommended',

  parserOptions: {
    ecmaVersion: 2017,
    sourceType: 'module',
  },

  rules: {
    'no-console':  ['warn', {allow: ['info', 'warn', 'error']}],
    'no-debugger': ['warn'],

    'arrow-parens':                ['error', 'as-needed'],
    'camelcase':                   ['error', {'properties': 'always'}],
    'comma-dangle':                ['error', 'always-multiline'],
    'comma-spacing':               ['error', {'before': false, 'after': true}],
    'eol-last':                    ['error'],
    'eqeqeq':                      ['error'],
    'indent':                      ['error', 2, {SwitchCase: 1}],
    'linebreak-style':             ['error', 'unix'],
    'multiline-ternary':           ['error', 'never'],
    'no-unused-expressions':       ['error'],
    'no-use-before-define':        ['error', {classes: false}],
    'object-curly-spacing':        ['error', 'never'],
    'object-shorthand':            ['error', 'always'],
    'quotes':                      ['error', 'backtick'],
    'semi':                        ['error', 'always'],
    'space-before-blocks':         ['error', 'always'],
    'space-before-function-paren': ['error', 'never'],
  },
};

{'fraction_non_alphanumeric': 0.21491395793499043, 'fraction_numerical': 0.0057361376673040155, 'mean_word_length': 1.9034406215316315, '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': '150734', 'n_tokens_mistral': 842, 'n_tokens_neox': 796, 'n_words': 156}