hi i have a react project i create it with vite and i before remove eslint from it for typescript but now i want to return back those type safety settings, i install eslint again but know i want when i declare a variable like this
```
const x;

// or 

const x: any;
```
its give me error during build and development
so this is my tsconfig.json file:
```
{
  "files": [],
  "references": [
    {
      "path": "./tsconfig.app.json"
    },
    {
      "path": "./tsconfig.node.json"
    }
  ]
}
```

this is my tsconfig.app.json file:
```
{
  "compilerOptions": {
    "composite": true,
    "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
    "target": "ES2020",
    "useDefineForClassFields": true,
    "lib": ["ES2020", "DOM", "DOM.Iterable"],
    "module": "ESNext",
    "skipLibCheck": true,

    /* Bundler mode */
    "moduleResolution": "bundler",
    "allowImportingTsExtensions": true,
    "resolveJsonModule": true,
    "isolatedModules": true,
    "moduleDetection": "force",
    "noEmit": true,
    "jsx": "react-jsx",
  

    /* Linting */
    "strict": true,
    "noUnusedLocals": true,
    "noUnusedParameters": true,
    "noFallthroughCasesInSwitch": true,
    "noImplicitThis": true,
    "noImplicitAny": true,
    "baseUrl": ".",
    "paths": {
      "@src/*": ["src/*"],
      "@assets": ["src/assets"],
      "@common": ["src/common"],
      "@components": ["src/components"],
      "@constants": ["src/constants"],
      "@context": ["src/context"],
      "@hooks": ["src/hooks"],
      "@imports": ["src/imports"],
      "@layout": ["src/layout"],
      "@pages": ["src/pages"],
      "@services": ["src/services"],
      "@styles": ["src/styles"],
      "@theme": ["src/theme"],
      "@utils": ["src/utils"],
      "@public": ["public"]
    },
    "allowJs": true
  },
  "include": ["src/**/*", "public/**/*"],
  "exclude": ["node_modules"]
}
```
this is my tsconfig.node.json file:
```
{
  "compilerOptions": {
    "composite": true,
    "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",
    "skipLibCheck": true,
    "module": "ESNext",
    "moduleResolution": "bundler",
    "allowSyntheticDefaultImports": true,
    "strict": true,
    "noEmit": true
  },
  "include": ["vite.config.ts"]
}
```
this is my eslint.config file:
```
import globals from "globals";
import pluginJs from "@eslint/js";
import tseslint from "@typescript-eslint/eslint-plugin"; // Corrected import
import pluginReact from "eslint-plugin-react";

/** @type {import('eslint').Linter.Config[]} */
export default [
  {
    files: ["**/*.{js,mjs,cjs,ts,jsx,tsx}"],
    languageOptions: {
      globals: {
        ...globals.browser, // Spread the globals without leading/trailing whitespace
      },
      parser: "@typescript-eslint/parser", // Specify the TypeScript parser
      parserOptions: {
        ecmaVersion: 2020,
        sourceType: "module",
      },
    },
    rules: {
      "@typescript-eslint/no-explicit-any": "error", // Disallow the use of 'any'
      // Add other rules as needed
    },
  },
  pluginJs.configs.recommended,
  tseslint.configs.recommended, // Use this directly instead of spreading
  pluginReact.configs.recommended, // Use the correct recommended config
];
```
and this is my package.json:
```
{
  "name": "admin-control-panel",
  "private": true,
  "version": "0.0.0",
  "type": "module",
  "scripts": {
    "dev": "vite",
    "build": "tsc -b && vite build",
    "preview": "vite preview"
  },
  "dependencies": {
    "@emotion/styled": "^11.13.0",
    "@hassanmojab/react-modern-calendar-datepicker": "^3.1.7",
    "@hookform/resolvers": "^3.3.1",
    "@material-ui/core": "^4.12.4",
    "@mui/icons-material": "^5.14.3",
    "@mui/x-date-pickers": "^5.0.7",
    "@tanstack/react-query": "^4.32.6",
    "@tanstack/react-query-persist-client": "^5.59.15",
    "ag-grid-community": "^30.1.0",
    "ag-grid-enterprise": "^30.1.0",
    "ag-grid-react": "^30.0.6",
    "axios": "^1.4.0",
    "crypto-js": "^4.2.0",
    "dayjs": "^1.11.13",
    "jalali-moment": "^3.3.11",
    "js-cookie": "^3.0.5",
    "jwt-decode": "^4.0.0",
    "leaflet": "^1.9.4",
    "leaflet-draw": "^1.0.4",
    "localforage": "^1.10.0",
    "lodash": "^4.17.21",
    "react": "^18.3.1",
    "react-datepicker2": "^3.3.13",
    "react-dom": "^18.3.1",
    "react-hook-form": "^7.45.4",
    "react-icons": "^4.10.1",
    "react-leaflet": "^4.2.1",
    "react-leaflet-draw": "^0.20.4",
    "react-loader-spinner": "^5.3.4",
    "react-router-dom": "^6.15.0",
    "react-scripts": "^5.0.1",
    "react-select": "^5.7.4",
    "react-tilt": "^1.0.2",
    "react-toastify": "^10.0.5",
    "sass": "^1.65.1",
    "xlsx": "^0.18.5",
    "yup": "^1.2.0"
  },
  "devDependencies": {
    "@eslint/js": "^9.17.0",
    "@types/react": "^18.3.3",
    "@types/react-dom": "^18.3.0",
    "@typescript-eslint/eslint-plugin": "^7.18.0",
    "@typescript-eslint/parser": "^7.18.0",
    "@vitejs/plugin-react": "^4.3.1",
    "autoprefixer": "^10.4.20",
    "eslint": "^8.57.1",
    "eslint-plugin-react": "^7.37.3",
    "eslint-plugin-react-hooks": "^4.6.2",
    "eslint-plugin-react-refresh": "^0.4.7",
    "postcss": "^8.4.40",
    "tailwindcss": "^3.4.7",
    "typescript": "^5.2.2",
    "vite": "^5.3.4"
  }
}
```
so what should i do?