diff --git a/apps/landing/package.json b/apps/landing/package.json index 2e2151161..7b1ac543a 100644 --- a/apps/landing/package.json +++ b/apps/landing/package.json @@ -9,8 +9,7 @@ "start": "next start", "lint": "eslint .", "type-check": "tsc --pretty --noEmit", - "i18n:scan": "i18next-scanner --config i18next-scanner.config.js", - "prettier": "prettier --write ./src" + "i18n:scan": "i18next-scanner --config i18next-scanner.config.js" }, "dependencies": { "@rallly/billing": "*", diff --git a/apps/landing/src/app/[locale]/blog/layout.tsx b/apps/landing/src/app/[locale]/blog/layout.tsx index 6c82e7ad5..1c4cbacfa 100644 --- a/apps/landing/src/app/[locale]/blog/layout.tsx +++ b/apps/landing/src/app/[locale]/blog/layout.tsx @@ -12,7 +12,7 @@ export default function BlogLayout({
{children}
-
+
diff --git a/apps/landing/src/app/[locale]/footer.tsx b/apps/landing/src/app/[locale]/footer.tsx index fbd4e6d21..29dfc0b22 100644 --- a/apps/landing/src/app/[locale]/footer.tsx +++ b/apps/landing/src/app/[locale]/footer.tsx @@ -63,7 +63,7 @@ export const Footer: React.FunctionComponent = () => { return (
-
+
-
+

= ({ {icon || ( )} -
+
{title}

{description}

diff --git a/apps/landing/src/components/home/bonus.tsx b/apps/landing/src/components/home/bonus.tsx index f4dfab9d1..d439cdc03 100644 --- a/apps/landing/src/components/home/bonus.tsx +++ b/apps/landing/src/components/home/bonus.tsx @@ -13,7 +13,7 @@ import { BonusItem } from "@/components/home/bonus-item"; export async function Bonus({ t }: { t: TFunction }) { const userCount = await prisma.user.count(); return ( -
+
} diff --git a/apps/landing/src/components/marketing.tsx b/apps/landing/src/components/marketing.tsx index 499687e32..263018d39 100644 --- a/apps/landing/src/components/marketing.tsx +++ b/apps/landing/src/components/marketing.tsx @@ -266,7 +266,7 @@ export const BigTestimonial = () => { initial={{ opacity: 0, y: 20 }} whileInView={{ opacity: 1, y: 0 }} viewport={{ once: true, amount: "all" }} - className="flex flex-col items-center gap-y-8 " + className="flex flex-col items-center gap-y-8" > img) { - @apply flex items-center justify-center overflow-hidden rounded-xl border bg-gray-50 p-2; + @apply flex items-center justify-center overflow-hidden rounded-xl border bg-gray-50 p-2; } img { @apply mx-auto rounded-lg border; @@ -126,7 +126,7 @@ } .btn-default { - @apply btn bg-white/50 text-gray-700 hover:bg-gray-50 hover:shadow-sm active:bg-gray-200 active:shadow-none; + @apply btn bg-white/50 text-gray-700 hover:bg-gray-50 hover:shadow-sm active:bg-gray-200 active:shadow-none; } .btn-danger { text-shadow: rgb(0 0 0 / 20%) 0px 1px 1px; diff --git a/apps/landing/tsconfig.json b/apps/landing/tsconfig.json index d992551a0..6b49b434b 100644 --- a/apps/landing/tsconfig.json +++ b/apps/landing/tsconfig.json @@ -4,11 +4,11 @@ "baseUrl": ".", "paths": { "@/*": ["src/*"], - "~/*": ["public/*"], + "~/*": ["public/*"] }, "checkJs": false, - "strictNullChecks": true, + "strictNullChecks": true }, "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"], - "exclude": ["node_modules"], + "exclude": ["node_modules"] } diff --git a/apps/web/declarations/next-auth.d.ts b/apps/web/declarations/next-auth.d.ts index 746d9abfc..efe295dcd 100644 --- a/apps/web/declarations/next-auth.d.ts +++ b/apps/web/declarations/next-auth.d.ts @@ -1,9 +1,8 @@ /* eslint-disable @typescript-eslint/no-unused-vars */ import type { TimeFormat } from "@rallly/database"; -import { extend } from "lodash"; import type { DefaultSession, DefaultUser } from "next-auth"; import NextAuth from "next-auth"; -import type { DefaultJWT} from "next-auth/jwt"; +import type { DefaultJWT } from "next-auth/jwt"; import { JWT } from "next-auth/jwt"; declare module "next-auth" { diff --git a/apps/web/package.json b/apps/web/package.json index 27a59cae3..3ab1bdc63 100644 --- a/apps/web/package.json +++ b/apps/web/package.json @@ -11,7 +11,6 @@ "lint": "eslint .", "type-check": "tsc --pretty --noEmit", "i18n:scan": "i18next-scanner --config i18next-scanner.config.js", - "prettier": "prettier --write ./src", "test:integration": "NODE_ENV=test playwright test", "test:unit": "vitest run", "test": "yarn test:unit && yarn test:e2e", diff --git a/apps/web/sentry.server.config.ts b/apps/web/sentry.server.config.ts index 8564be4b7..7b634bca9 100644 --- a/apps/web/sentry.server.config.ts +++ b/apps/web/sentry.server.config.ts @@ -16,5 +16,4 @@ Sentry.init({ // Uncomment the line below to enable Spotlight (https://spotlightjs.com) // spotlight: process.env.NODE_ENV === 'development', - }); diff --git a/apps/web/src/app/[locale]/(admin)/menu-item.tsx b/apps/web/src/app/[locale]/(admin)/menu-item.tsx index 384ede518..a34efdd7a 100644 --- a/apps/web/src/app/[locale]/(admin)/menu-item.tsx +++ b/apps/web/src/app/[locale]/(admin)/menu-item.tsx @@ -24,7 +24,7 @@ export function MenuItem({ isCurrent ? "bg-gray-200 text-indigo-600" : "hover:text-primary text-gray-700", - "group flex items-center gap-x-3 rounded-md px-3 py-2 text-sm font-semibold leading-6", + "group flex items-center gap-x-3 rounded-md px-3 py-2 text-sm font-semibold leading-6", )} > +