diff --git a/apps/app/.eslintrc.json b/apps/app/.eslintrc.json new file mode 100644 index 00000000..bffb357a --- /dev/null +++ b/apps/app/.eslintrc.json @@ -0,0 +1,3 @@ +{ + "extends": "next/core-web-vitals" +} diff --git a/apps/app/next.config.mjs b/apps/app/next.config.mjs index 15854529..3ef227bf 100644 --- a/apps/app/next.config.mjs +++ b/apps/app/next.config.mjs @@ -7,6 +7,7 @@ const nextConfig = { experimental: { instrumentationHook: process.env.NODE_ENV === "production", }, + reactStrictMode: true, }; export default withSentryConfig(nextConfig, { diff --git a/apps/app/package.json b/apps/app/package.json index b61853a9..84d496e4 100644 --- a/apps/app/package.json +++ b/apps/app/package.json @@ -6,7 +6,7 @@ "dev": "next dev -p 3000", "build": "next build", "clean": "git clean -xdf .next .turbo node_modules", - "lint": "biome lint", + "lint": "next lint", "format": "biome format --write .", "start": "next start", "typecheck": "tsc --noEmit" diff --git a/apps/web/.eslintrc.json b/apps/web/.eslintrc.json new file mode 100644 index 00000000..bffb357a --- /dev/null +++ b/apps/web/.eslintrc.json @@ -0,0 +1,3 @@ +{ + "extends": "next/core-web-vitals" +} diff --git a/apps/web/next.config.mjs b/apps/web/next.config.mjs index 4678774e..bbde6fbc 100644 --- a/apps/web/next.config.mjs +++ b/apps/web/next.config.mjs @@ -1,4 +1,6 @@ /** @type {import('next').NextConfig} */ -const nextConfig = {}; +const nextConfig = { + reactStrictMode: true, +}; export default nextConfig; diff --git a/apps/web/package.json b/apps/web/package.json index 3c38cfbd..91788501 100644 --- a/apps/web/package.json +++ b/apps/web/package.json @@ -6,7 +6,7 @@ "dev": "next dev -p 3001", "build": "next build", "clean": "git clean -xdf .next .turbo node_modules", - "lint": "biome lint", + "lint": "next lint", "format": "biome format --write .", "start": "next start", "typecheck": "tsc --noEmit"