diff --git a/package.json b/package.json
index e0efe39bf1..51b04f1671 100644
--- a/package.json
+++ b/package.json
@@ -127,6 +127,7 @@
},
"eslintConfig": {
"extends": [
+ "plugin:@typescript-eslint/recommended",
"plugin:react/recommended",
"plugin:react/jsx-runtime",
"plugin:react-hooks/recommended",
@@ -142,14 +143,14 @@
],
"rules": {
"@typescript-eslint/no-empty-interface": "warn",
+ "@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-inferrable-types": "warn",
- "@typescript-eslint/no-unused-vars": "off",
+ "@typescript-eslint/no-unused-vars": "warn",
"@typescript-eslint/switch-exhaustiveness-check": "warn",
"import/first": "warn",
"import/newline-after-import": "warn",
"import/no-duplicates": "warn",
"import/no-named-as-default": "off",
- "import/no-named-as-default-member": "off",
"import/order": [
"warn",
{
@@ -173,9 +174,8 @@
],
"no-undef": "off",
"prefer-const": "warn",
- "react/display-name": "off",
"react/jsx-boolean-value": "warn",
- "unused-imports/no-unused-imports": "error"
+ "unused-imports/no-unused-imports": "warn"
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
@@ -189,6 +189,7 @@
"react",
"unused-imports"
],
+ "root": true,
"settings": {
"react": {
"version": "detect"
diff --git a/src/components/AppBar/UserMenu.tsx b/src/components/AppBar/UserMenu.tsx
index 1a256d6db5..55e65bdec2 100644
--- a/src/components/AppBar/UserMenu.tsx
+++ b/src/components/AppBar/UserMenu.tsx
@@ -12,7 +12,7 @@ import {
MenuItem,
Typography,
} from "@mui/material";
-import React, { ReactElement, useState } from "react";
+import React, { forwardRef, ReactElement, useState } from "react";
import { useTranslation } from "react-i18next";
import { useNavigate } from "react-router-dom";
@@ -114,11 +114,12 @@ export default function UserMenu(props: TabProps): ReactElement {
//