<commit_before>/** @type {import('eslint').Linter.Config} */
module.exports = {
  "env": {
    "jest": true,
    "node": true
  },
  "extends": [
    "airbnb-base",
    "plugin:security/recommended",
    'plugin:@typescript-eslint/recommended', // Uses the recommended rules from the @typescript-eslint/eslint-plugin
  ],
  parser: '@typescript-eslint/parser', // Specifies the ESLint parser
  parserOptions:  {
    ecmaVersion:  2018,  // Allows for the parsing of modern ECMAScript features
    sourceType:  'module',  // Allows for the use of imports
  },
  "plugins": [
    'import',
    "security",
    "jest"
  ],
  "rules": {
    "jest/no-disabled-tests": [2],
    "jest/no-focused-tests": [2],
    "jest/no-identical-title": [2],
    "jest/prefer-to-have-length": [2],
    "jest/valid-expect": [2],
    // TODO: Enable these lint rules:
    // They were disabled to facilitate the transition to TypeScript
    "@typescript-eslint/explicit-function-return-type": [0],
    "@typescript-eslint/no-var-requires": [0],
    '@typescript-eslint/no-empty-interface': [0],
    '@typescript-eslint/no-explicit-any': [0],
    '@typescript-eslint/class-name-casing': [0],
    '@typescript-eslint/ban-ts-ignore': [0],
    'import/prefer-default-export': [0],
  },
  settings: {
    "import/parsers": {
      "@typescript-eslint/parser": [".ts", ".tsx"]<commit_msg>Enable some lint rules. Issue #96<commit_after>/** @type {import('eslint').Linter.Config} */
module.exports = {
  "env": {
    "jest": true,
    "node": true
  },
  "extends": [
    "airbnb-base",
    "plugin:security/recommended",
    'plugin:@typescript-eslint/recommended', // Uses the recommended rules from the @typescript-eslint/eslint-plugin
  ],
  parser: '@typescript-eslint/parser', // Specifies the ESLint parser
  parserOptions:  {
    ecmaVersion:  2018,  // Allows for the parsing of modern ECMAScript features
    sourceType:  'module',  // Allows for the use of imports
  },
  "plugins": [
    'import',
    "security",
    "jest"
  ],
  "rules": {
    "jest/no-disabled-tests": [2],
    "jest/no-focused-tests": [2],
    "jest/no-identical-title": [2],
    "jest/prefer-to-have-length": [2],
    "jest/valid-expect": [2],
    "@typescript-eslint/no-var-requires": [2],
    '@typescript-eslint/no-empty-interface': [2],
    '@typescript-eslint/class-name-casing': [2],
    'import/prefer-default-export': [0],
    // TODO: Enable these lint rules:
    // They were disabled to facilitate the transition to TypeScript
    '@typescript-eslint/no-explicit-any': [0],
    '@typescript-eslint/ban-ts-ignore': [0],
    "@typescript-eslint/explicit-function-return-type": [0],
  },
  settings: {
    "import/parsers": {
      "@typescript-eslint/parser": [".ts", ".tsx"]
{'fraction_non_alphanumeric': 0.18553688823959094, 'fraction_numerical': 0.01241782322863404, 'mean_word_length': 3.207373271889401, 'pattern_counts': {'":': 30, '<': 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': '559491', 'n_tokens_mistral': 990, 'n_tokens_neox': 974, 'n_words': 190}