From 1cc0625426e47f5214bcd2eda4edb9d69ddeb0d0 Mon Sep 17 00:00:00 2001 From: Jonas Hungershausen Date: Fri, 13 Dec 2024 15:45:49 +0100 Subject: [PATCH] chore: fix lint script --- examples/nextjs-pages-router/package.json | 3 +-- examples/nextjs-pages-router/project.json | 11 +++++++++++ 2 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 examples/nextjs-pages-router/project.json diff --git a/examples/nextjs-pages-router/package.json b/examples/nextjs-pages-router/package.json index 29221a7e..641f6f91 100644 --- a/examples/nextjs-pages-router/package.json +++ b/examples/nextjs-pages-router/package.json @@ -5,8 +5,7 @@ "scripts": { "dev": "next dev", "build": "next build", - "start": "next start", - "lint": "next lint" + "start": "next start" }, "dependencies": { "@ory/nextjs": "^0.0.1", diff --git a/examples/nextjs-pages-router/project.json b/examples/nextjs-pages-router/project.json new file mode 100644 index 00000000..fc897f7c --- /dev/null +++ b/examples/nextjs-pages-router/project.json @@ -0,0 +1,11 @@ +{ + "targets": { + "lint": { + "command": "eslint", + "dependsOn": ["build"], + "options": { + "cwd": "examples/nextjs-pages-router" + } + } + } +}