{"size": 1338, "ext": "js", "max_stars_repo_path": ".eslintrc.js", "max_stars_repo_name": "JacobHaskins/erebor", "max_stars_repo_stars_event_min_datetime": "2022-02-11T16:13:38.000Z", "max_stars_repo_stars_event_max_datetime": "2022-02-11T16:13:38.000Z", "max_issues_repo_path": ".eslintrc.js", "max_issues_repo_name": "JacobHaskins/erebor", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": ".eslintrc.js", "max_forks_repo_name": "JacobHaskins/erebor", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 46.1379310345, "max_line_length": 115, "alphanum_fraction": 0.6405082212}
module.exports = {
    env: {
        browser: true, // Allows for the use of predefined global variables for browsers (document, window, etc.)
        jest: true, // Allows for the use of predefined global variables for Jest (describe, test, etc.)
        node: true, // Allows for the use of predefined global variables for Node.js (module, process, etc.)
    },
    extends: [
        "eslint:recommended", // Use the recommened rules from eslint
        "plugin:@typescript-eslint/recommended", // Use the recommended rules from @typescript-eslint/eslint-plugin
        "plugin:react/recommended", // Use the recommended rules from eslint-plugin-react
    ],
    parser: "@typescript-eslint/parser", // Specifies the ESLint parser
    parserOptions: {
        ecmaVersion: 2020, // Allows for the parsing of modern ECMAScript features
        ecmaFeatures: {
            jsx: true // Allows for the parsing of JSX
        },
        sourceType: "module", // Allows for the use of imports
    },
    plugins: [
        "@typescript-eslint", // Allows for manually setting @typescript-eslint/* rules 
        "react", // Allows for manually setting react/* rules
    ],
    settings: {
        react: {
            version: "detect" // Tells eslint-plugin-react to automatically detect the version of React to use
        },
    },
  };