<commit_before>module.exports = {
  extends: "airbnb",
  parserOptions: {
    ecmaVersion: 7
  },
  parser: "babel-eslint",
  env: {
    browser: true,
    // webextensions: true,
    // jest: true,
    // jasmine: true
  },
  rules: {
    "max-len": [
      2,
      {
        code: 100,
        comments: 100,
        ignoreComments: true,
        ignoreStrings: true,
        ignoreTemplateLiterals: true,
        ignoreRegExpLiterals: true,
      },
    ],
    "function-paren-newline": 0,
    "class-methods-use-this": 0,
    "comma-dangle": 0,
    "import/extensions": "off",
    "import/no-extraneous-dependencies": 1,
    "import/no-unresolved": 1,
    "import/prefer-default-export": 0,
    "jsx-a11y/label-has-for": 0, // allow implicit label for input implementation
    "jsx-a11y/no-static-element-interactions": 0,
    "jsx-a11y/no-noninteractive-element-interactions": 0,
    "jsx-a11y/mouse-events-have-key-events": 0,<commit_msg>[infra] Add linting rule to disallow arrow functions in object expressions (#770)<commit_after>module.exports = {
  extends: "airbnb",
  parserOptions: {
    ecmaVersion: 7
  },
  parser: "babel-eslint",
  env: {
    browser: true,
    // webextensions: true,
    // jest: true,
    // jasmine: true
  },
  rules: {
    "max-len": [
      2,
      {
        code: 100,
        comments: 100,
        ignoreComments: true,
        ignoreStrings: true,
        ignoreTemplateLiterals: true,
        ignoreRegExpLiterals: true,
      },
    ],
    "object-shorthand": [
      2,
      "always",
      {
        "avoidExplicitReturnArrows": true
      }
    ],
    "function-paren-newline": 0,
    "class-methods-use-this": 0,
    "comma-dangle": 0,
    "import/extensions": "off",
    "import/no-extraneous-dependencies": 1,
    "import/no-unresolved": 1,
    "import/prefer-default-export": 0,
    "jsx-a11y/label-has-for": 0, // allow implicit label for input implementation
    "jsx-a11y/no-static-element-interactions": 0,
    "jsx-a11y/no-noninteractive-element-interactions": 0,
    "jsx-a11y/mouse-events-have-key-events": 0,
{'fraction_non_alphanumeric': 0.14995178399228543, 'fraction_numerical': 0.02700096432015429, 'mean_word_length': 2.424092409240924, 'pattern_counts': {'":': 26, '<': 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': '1543000', 'n_tokens_mistral': 785, 'n_tokens_neox': 729, 'n_words': 135}