<commit_before>module.exports = {
  env: {
    browser: true,
    es6: true,
    node: true,
  },
  extends: [
    'eslint:all',
    'plugin:fp/recommended',
    // 'plugin:import/warnings', TODO
    'prettier',
  ],
  parser: 'babel-eslint',
  plugins: ['fp', 'prettier'],
  rules: {
    'capitalized-comments': ['error', 'never'],
    eqeqeq: ['error', 'always', {null: 'ignore'}],
    'id-length': 'off',
    'init-declarations': 'off', // In favor of fp/no-let.
    'line-comment-position': 'off',
    'no-confusing-arrow': 'off',
    'no-inline-comments': 'off',
    'no-magic-numbers': 'off',
    'no-nested-ternary': 'off',
    'no-ternary': 'off',
    'no-use-before-define': ['error', {functions: false}],
    'one-var': ['error', 'never'],
    'sort-imports': 'off',
    'sort-keys': 'off',
    'fp/no-mutating-methods': 'warn',
    'fp/no-mutation': ['error', {commonjs: true, allowThis: true}],
    'fp/no-events': 'off',
    'fp/no-nil': 'off',
    'fp/no-rest-parameters': 'off',
    'fp/no-unused-expression': 'off',
    // 'import/extensions': ['error', 'never'],
    // 'import/no-extraneous-dependencies': 'off',
    // 'import/no-unresolved': 'off',
    'prettier/prettier': [
      'error',
      {printWidth: 100, singleQuote: true, trailingComma: 'all', bracketSpacing: false},
    ],
  },
};<commit_msg>Update rules<commit_after>module.exports = {
  env: {
    browser: true,
    es6: true,
    node: true,
  },
  extends: [
    'eslint:all',
    'plugin:fp/recommended',
    // 'plugin:import/warnings', TODO
    'prettier',
  ],
  parser: 'babel-eslint',
  plugins: ['fp', 'prettier'],
  rules: {
    camelcase: 'warn',
    'capitalized-comments': ['error', 'never'],
    eqeqeq: ['error', 'always', {null: 'ignore'}],
    'id-length': 'off',
    'init-declarations': 'off', // In favor of fp/no-let.
    'line-comment-position': 'off',
    'no-confusing-arrow': 'off',
    'no-inline-comments': 'off',
    'no-magic-numbers': 'off',
    'no-nested-ternary': 'off',
    'no-ternary': 'off',
    'no-use-before-define': ['error', {functions: false}],
    'one-var': ['error', 'never'],
    'sort-imports': 'off',
    'sort-keys': 'off',
    'fp/no-mutating-methods': 'warn',
    'fp/no-mutation': ['error', {commonjs: true, allowThis: true}],
    'fp/no-events': 'off',
    'fp/no-nil': 'off',
    'fp/no-rest-parameters': 'off',
    'fp/no-unused-expression': 'off',
    // 'import/extensions': ['error', 'never'],
    // 'import/no-extraneous-dependencies': 'off',
    // 'import/no-unresolved': 'off',
    'prettier/prettier': [
      'error',
      {printWidth: 100, singleQuote: true, trailingComma: 'all', bracketSpacing: false},
    ],
  },
};
{'fraction_non_alphanumeric': 0.23261032161555723, 'fraction_numerical': 0.0029917726252804786, 'mean_word_length': 3.102760736196319, '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': '840156', 'n_tokens_mistral': 1015, 'n_tokens_neox': 990, 'n_words': 187}