Skip to content

Commit

Permalink
chore: 🤖 bump @jimmy.codes/eslint-config to v3.4.1 (#125)
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmy-guzman authored Nov 2, 2024
1 parent c779582 commit dd33cc5
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 11 deletions.
Binary file modified bun.lockb
Binary file not shown.
5 changes: 2 additions & 3 deletions eslint.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
});
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand All @@ -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",
Expand All @@ -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",
Expand All @@ -82,5 +82,5 @@
"vite-tsconfig-paths": "5.0.1",
"vitest": "2.1.4"
},
"packageManager": "[email protected].33"
"packageManager": "[email protected].34"
}
4 changes: 2 additions & 2 deletions src/testing/utils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down Expand Up @@ -74,7 +74,7 @@ const customRender = async (
...options
}: Omit<RenderOptions, "wrapper"> & Partial<WrapperProps> = {},
) => {
// 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 }) => {
Expand Down

0 comments on commit dd33cc5

Please sign in to comment.