Skip to content

Commit 2dd46cc

Browse files
authored
chore(examples): Remove spare dependencies from basic example. (#9516)
### Description I left some unneeded dependencies behind when I was upgrading this example in #9501. This gets rid of them. ### Testing Instructions I've verified that ESLint violations get reported as expected in my editor and when running `turbo lint`. You can also clone with `npx create-turbo@canary -e https://github.com/vercel/turborepo/tree/shew-0f804/examples/basic basic-eslint-9` to have a play with it.
1 parent cf68935 commit 2dd46cc

File tree

6 files changed

+2392
-2283
lines changed

6 files changed

+2392
-2283
lines changed

examples/basic/apps/docs/package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@
2222
"@types/node": "^20",
2323
"@types/react": "18.3.1",
2424
"@types/react-dom": "18.3.0",
25-
"eslint": "^9.15.0",
26-
"eslint-config-next": "15.0.3",
2725
"typescript": "5.5.4"
2826
}
2927
}

examples/basic/apps/web/package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@
2222
"@types/node": "^20",
2323
"@types/react": "18.3.1",
2424
"@types/react-dom": "18.3.0",
25-
"eslint": "^9.15.0",
26-
"eslint-config-next": "15.0.3",
2725
"typescript": "5.5.4"
2826
}
2927
}

examples/basic/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"turbo": "^2.3.0",
1313
"typescript": "5.5.4"
1414
},
15-
"packageManager": "pnpm@8.15.6",
15+
"packageManager": "pnpm@9.0.0",
1616
"engines": {
1717
"node": ">=18"
1818
}

examples/basic/packages/eslint-config/next.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import pluginNext from "@next/eslint-plugin-next";
88
import { config as baseConfig } from "./base.js";
99

1010
/**
11-
* A custom ESLint configuration for libraries that use React.
11+
* A custom ESLint configuration for libraries that use Next.js.
1212
*
1313
* @type {import("eslint").Linter.Config}
1414
* */

examples/basic/packages/ui/package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,9 @@
1717
"@repo/eslint-config": "workspace:*",
1818
"@repo/typescript-config": "workspace:*",
1919
"@turbo/gen": "^1.12.4",
20-
"@types/eslint": "^8.56.5",
2120
"@types/node": "^20.11.24",
2221
"@types/react": "18.3.0",
2322
"@types/react-dom": "18.3.1",
24-
"eslint": "^9.15.0",
2523
"typescript": "5.5.4"
2624
},
2725
"dependencies": {

0 commit comments

Comments
 (0)