diff --git a/package.json b/package.json index 09a61b5..7927a65 100644 --- a/package.json +++ b/package.json @@ -55,6 +55,7 @@ "node-forge": "^1.3.1" }, "devDependencies": { + "@headlamp-k8s/eslint-config": "^0.6.0", "@iconify/react": "^6.0.2", "@kinvolk/headlamp-plugin": "^0.13.0", "@mui/material": "^5.15.14", @@ -64,8 +65,10 @@ "@types/node-forge": "^1.3.11", "@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", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 60143e9..30baa0c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -12,6 +12,9 @@ importers: specifier: ^1.3.1 version: 1.3.3 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) '@iconify/react': specifier: ^6.0.2 version: 6.0.2(react@18.3.1) @@ -39,12 +42,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 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"] }