diff --git a/.cursorrules b/.cursorrules index 36f599a9cb85..cfa0edb543db 100644 --- a/.cursorrules +++ b/.cursorrules @@ -27,7 +27,10 @@ "test:unit": "npx nx run twenty-server:test:unit", "test:integration": "npx nx run twenty-server:test:integration" } - } + }, + "rules": [ + "When being asked something, use it as an opportunity to improve the .cursorrules file with what you've learned" + ] }, "styling": { "rules": [ diff --git a/packages/twenty-front/src/modules/app/hooks/useCreateAppRouter.tsx b/packages/twenty-front/src/modules/app/hooks/useCreateAppRouter.tsx index 80ccc34bc486..613bfc9a1499 100644 --- a/packages/twenty-front/src/modules/app/hooks/useCreateAppRouter.tsx +++ b/packages/twenty-front/src/modules/app/hooks/useCreateAppRouter.tsx @@ -6,9 +6,9 @@ import { AppPath } from '@/types/AppPath'; import { BlankLayout } from '@/ui/layout/page/components/BlankLayout'; import { DefaultLayout } from '@/ui/layout/page/components/DefaultLayout'; import { - createBrowserRouter, - createRoutesFromElements, - Route, + createBrowserRouter, + createRoutesFromElements, + Route, } from 'react-router-dom'; import { Authorize } from '~/pages/auth/Authorize'; import { Invite } from '~/pages/auth/Invite'; diff --git a/packages/twenty-front/src/pages/onboarding/FreePassCheckoutEffect.tsx b/packages/twenty-front/src/pages/onboarding/FreePassCheckoutEffect.tsx index 8a96c4609486..345e75690a3c 100644 --- a/packages/twenty-front/src/pages/onboarding/FreePassCheckoutEffect.tsx +++ b/packages/twenty-front/src/pages/onboarding/FreePassCheckoutEffect.tsx @@ -3,8 +3,8 @@ import { AppPath } from '@/types/AppPath'; import { SnackBarVariant } from '@/ui/feedback/snack-bar-manager/components/SnackBar'; import { useSnackBar } from '@/ui/feedback/snack-bar-manager/hooks/useSnackBar'; import { - SubscriptionInterval, - useCheckoutSessionMutation, + SubscriptionInterval, + useCheckoutSessionMutation, } from '~/generated/graphql'; export const FreePassCheckoutEffect = () => { diff --git a/packages/twenty-front/src/pages/onboarding/PlanCheckoutEffect.tsx b/packages/twenty-front/src/pages/onboarding/PlanCheckoutEffect.tsx index e0ef371925cb..1599685d15c7 100644 --- a/packages/twenty-front/src/pages/onboarding/PlanCheckoutEffect.tsx +++ b/packages/twenty-front/src/pages/onboarding/PlanCheckoutEffect.tsx @@ -3,8 +3,8 @@ import { AppPath } from '@/types/AppPath'; import { SnackBarVariant } from '@/ui/feedback/snack-bar-manager/components/SnackBar'; import { useSnackBar } from '@/ui/feedback/snack-bar-manager/hooks/useSnackBar'; import { - SubscriptionInterval, - useCheckoutSessionMutation, + SubscriptionInterval, + useCheckoutSessionMutation, } from '~/generated/graphql'; export const PlanCheckoutEffect = () => {