{
    "parser": "@typescript-eslint/parser",
    "parserOptions": {
        "project": "./tsconfig.json"
    },
    "plugins": ["@typescript-eslint"],
    "env": {
        "browser": true,
        "es6": true,
        "node": true
    },
    "extends": [
        "next/core-web-vitals",
        "airbnb",
        "airbnb-typescript",
        "plugin:prettier/recommended",
        "plugin:@typescript-eslint/recommended"
    ],
    "rules": {
        "react/jsx-filename-extension": [
            1,
            { "extensions": [".js", ".jsx", ".ts", ".tsx"] }
        ],
        "react/function-component-definition": [
            2,
            { "namedComponents": "arrow-function" }
        ],
        "react/prop-types": 0,
        "react/jsx-boolean-value": "off",
        "import/no-unresolved": "off",
        "import/no-cycle": "off",
        "no-param-reassign": "off",
        "no-use-before-define": "off",
        "array-callback-return": "warn",
        "consistent-return": "warn",
        "@typescript-eslint/no-use-before-define": "off"
    }
}
