diff --git a/bun.lockb b/bun.lockb index 5c5aba3..fd5bef3 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/eslint.config.ts b/eslint.config.ts index 6507261..66e2b81 100644 --- a/eslint.config.ts +++ b/eslint.config.ts @@ -3,7 +3,6 @@ import jimmyDotCodes from "@jimmy.codes/eslint-config"; import eslintPluginStorybook from "eslint-plugin-storybook"; export default jimmyDotCodes({ - autoDetect: true, - // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access - configs: [...eslintPluginStorybook.configs["flat/recommended"]], + // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access -- missing types + configs: eslintPluginStorybook.configs["flat/recommended"], }); diff --git a/package.json b/package.json index 91eb223..9c3ff0a 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "prettier": "@jimmy.codes/prettier-config", "dependencies": { "@tanstack/react-query": "5.59.16", - "@tanstack/react-router": "1.78.0", + "@tanstack/react-router": "1.78.2", "clsx": "2.1.1", "react": "18.3.1", "react-dom": "18.3.1", @@ -36,7 +36,7 @@ "@iconify-json/logos": "1.2.3", "@iconify-json/lucide": "1.2.11", "@iconify/tailwind": "1.1.3", - "@jimmy.codes/eslint-config": "3.3.0", + "@jimmy.codes/eslint-config": "3.4.1", "@jimmy.codes/prettier-config": "1.1.0", "@playwright/test": "1.48.2", "@storybook/addon-a11y": "8.4.1", @@ -48,8 +48,8 @@ "@storybook/react-vite": "8.4.1", "@tailwindcss/typography": "0.5.15", "@tanstack/react-query-devtools": "5.59.16", - "@tanstack/router-devtools": "1.78.0", - "@tanstack/router-vite-plugin": "1.78.0", + "@tanstack/router-devtools": "1.78.2", + "@tanstack/router-vite-plugin": "1.78.2", "@testing-library/dom": "10.4.0", "@testing-library/jest-dom": "6.6.3", "@testing-library/react": "16.0.1", @@ -65,7 +65,7 @@ "daisyui": "4.12.14", "eslint": "9.14.0", "eslint-plugin-storybook": "0.10.2", - "gitzy": "5.4.0", + "gitzy": "5.5.0", "happy-dom": "15.8.0", "is-ci": "3.0.1", "jiti": "2.4.0", @@ -82,5 +82,5 @@ "vite-tsconfig-paths": "5.0.1", "vitest": "2.1.4" }, - "packageManager": "bun@1.1.33" + "packageManager": "bun@1.1.34" } diff --git a/src/testing/utils.tsx b/src/testing/utils.tsx index 58c8ecd..d108bff 100644 --- a/src/testing/utils.tsx +++ b/src/testing/utils.tsx @@ -26,7 +26,7 @@ interface WrapperProps { path: keyof FileRoutesById; } -// eslint-disable-next-line react-refresh/only-export-components +// eslint-disable-next-line react-refresh/only-export-components -- this is only used in tests. const Wrapper = ({ children, initialEntries, path }: WrapperProps) => { const { queryClient, router } = useMemo(() => { const queryClient = new QueryClient({ @@ -74,7 +74,7 @@ const customRender = async ( ...options }: Omit & Partial = {}, ) => { - // eslint-disable-next-line @typescript-eslint/require-await + // eslint-disable-next-line @typescript-eslint/require-await -- prevents was not wrapped in act(...). const result = await act(async () => { return render(ui, { wrapper: ({ children }) => {