diff --git a/package.json b/package.json index 6eea078..7bcfd6b 100644 --- a/package.json +++ b/package.json @@ -25,6 +25,7 @@ "test:watch": "vitest" }, "devDependencies": { + "@headlamp-k8s/eslint-config": "^0.6.0", "@kinvolk/headlamp-plugin": "^0.13.0", "@mui/material": "^5.15.14", "@testing-library/jest-dom": "^6.4.8", @@ -32,11 +33,14 @@ "@testing-library/user-event": "^14.5.2", "@types/react": "^18.0.0", "@types/react-dom": "^18.0.0", + "eslint": "^8.57.0", "jsdom": "^24.0.0", "notistack": "^3.0.0", + "prettier": "^2.8.8", "react": "^18.3.1", "react-dom": "^18.3.1", "react-router-dom": "^5.3.0", + "typescript": "~5.6.2", "vitest": "^3.2.4" }, "overrides": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index cc012e0..ecf0ac0 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -8,6 +8,9 @@ importers: .: devDependencies: + '@headlamp-k8s/eslint-config': + specifier: ^0.6.0 + version: 0.6.0(@typescript-eslint/eslint-plugin@8.57.2(@typescript-eslint/parser@8.57.2(eslint@8.57.1)(typescript@5.6.2))(eslint@8.57.1)(typescript@5.6.2))(eslint-config-prettier@9.1.2(eslint@8.57.1))(eslint-plugin-import@2.32.0(@typescript-eslint/parser@8.57.2(eslint@8.57.1)(typescript@5.6.2))(eslint@8.57.1))(eslint-plugin-jsx-a11y@6.10.2(eslint@8.57.1))(eslint-plugin-react-hooks@4.6.2(eslint@8.57.1))(eslint-plugin-react@7.35.0(eslint@8.57.1))(eslint-plugin-simple-import-sort@12.1.1(eslint@8.57.1))(eslint-plugin-unused-imports@4.4.1(@typescript-eslint/eslint-plugin@8.57.2(@typescript-eslint/parser@8.57.2(eslint@8.57.1)(typescript@5.6.2))(eslint@8.57.1)(typescript@5.6.2))(eslint@8.57.1))(eslint@8.57.1) '@kinvolk/headlamp-plugin': specifier: ^0.13.0 version: 0.13.1(@swc/core@1.15.21)(@types/debug@4.1.13)(@typescript-eslint/parser@8.57.2(eslint@8.57.1)(typescript@5.6.2))(csstype@3.2.3)(esbuild@0.25.12)(immer@11.1.4)(openapi-types@12.1.3)(redux@5.0.1)(rollup@4.60.0)(terser@5.46.1)(webpack@5.105.4(@swc/core@1.15.21)(esbuild@0.25.12)) @@ -29,12 +32,18 @@ importers: '@types/react-dom': specifier: ^18.0.0 version: 18.3.7(@types/react@18.3.28) + eslint: + specifier: ^8.57.0 + version: 8.57.1 jsdom: specifier: ^24.0.0 version: 24.1.3 notistack: specifier: ^3.0.0 version: 3.0.2(csstype@3.2.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + prettier: + specifier: ^2.8.8 + version: 2.8.8 react: specifier: ^18.3.1 version: 18.3.1 @@ -44,6 +53,9 @@ importers: react-router-dom: specifier: ^5.3.0 version: 5.3.4(react@18.3.1) + typescript: + specifier: ~5.6.2 + version: 5.6.2 vitest: specifier: ^3.2.4 version: 3.2.4(@types/debug@4.1.13)(@types/node@20.19.37)(jsdom@24.1.3)(msw@2.4.9(typescript@5.6.2))(terser@5.46.1)(yaml@2.8.3) diff --git a/tsconfig.json b/tsconfig.json index 2eb0176..6601104 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,7 +1,7 @@ { "extends": "@kinvolk/headlamp-plugin/config/plugins-tsconfig.json", "compilerOptions": { - "types": ["vite/client", "vite-plugin-svgr/client", "vitest/globals", "@testing-library/jest-dom"] + "types": ["vitest/globals", "@testing-library/jest-dom"] }, "include": ["src"] }