module.exports = {
    env: {
        browser: true,
        es2021: true,
    },
    extends: ["standard-with-typescript", "prettier"],
    plugins: ["prettier"],
    overrides: [],
    parser: "@typescript-eslint/parser",
    parserOptions: {
        ecmaVersion: "latest",
        sourceType: "module",
        project: ["./tsconfig.json"],
    },
    rules: {
        "prettier/prettier": ["error"],
        "@typescript-eslint/explicit-function-return-type": ["off"],
        "@typescript-eslint/strict-boolean-expressions": "off",
        "@typescript-eslint/consistent-type-assertions": "off",
        "@typescript-eslint/no-floating-promises": "off",
        "@typescript-eslint/restrict-template-expressions": "off",
        "@typescript-eslint/no-misused-promises": "off",
        "@typescript-eslint/prefer-optional-chain": "off",
        "@typescript-eslint/prefer-nullish-coalescing": "off",
        "@typescript-eslint/restrict-plus-operands": "off",
        "react-hooks/exhaustive-deps": "off",
        "@typescript-eslint/array-type": "off",
        "@typescript-eslint/no-non-null-assertion": "off",
        "@typescript-eslint/return-await": "off",
        "prefer-const": "off",
        "no-case-declarations": "off",
        "no-extra-boolean-cast": "off",
        "@typescript-eslint/consistent-type-definitions": "off",
        "spaced-comment": "off",
        "@typescript-eslint/prefer-ts-expect-error": "off",
        "no-unneeded-ternary": "off",
        "no-useless-escape": "off",
        "promise/param-names": "off",
        "@typescript-eslint/promise-function-async": "off",
        "@typescript-eslint/prefer-includes": "off",
        "@typescript-eslint/dot-notation": "off",
        "@typescript-eslint/no-var-requires": "off",
        "@typescript-eslint/no-unused-vars": "off",
        "no-useless-return": "off",
    },
};
