Skip to content

Commit c02f701

Browse files
committed
update config comments
1 parent 64b2938 commit c02f701

File tree

3 files changed

+3
-17
lines changed

3 files changed

+3
-17
lines changed

cypress.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ export default defineConfig({
44
e2e: {
55
specPattern: 'tests/ui/cypress/e2e/**/*.cy.{js,jsx,ts,tsx}',
66
supportFile: 'tests/ui/cypress/support/e2e.ts',
7-
baseUrl: 'http://localhost:3000', // optional, but good practice
7+
baseUrl: 'http://localhost:3000', // optional
88
},
99
});

tsconfig.base.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,12 @@
11
{
22
"$schema": "https://json.schemastore.org/tsconfig",
33
"compilerOptions": {
4-
/* --- language / emit --- */
54
"target": "ES2022",
65
"lib": ["dom", "dom.iterable", "esnext"],
76
"module": "esnext",
87
"jsx": "preserve",
98
"incremental": true,
109
"noEmit": true,
11-
12-
/* --- module resolution --- */
1310
"moduleResolution": "node",
1411
"baseUrl": ".",
1512
"paths": {
@@ -20,8 +17,6 @@
2017
"esModuleInterop": true,
2118
"allowSyntheticDefaultImports": true,
2219
"plugins": [{ "name": "next" }],
23-
24-
/* --- correctness / style --- */
2520
"strict": true,
2621
"skipLibCheck": true,
2722
"forceConsistentCasingInFileNames": true,

tsconfig.json

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,13 @@
11
{
22
"extends": "./tsconfig.base.json",
33

4-
/* Extra options that apply only to Node-side files */
54
"compilerOptions": {
6-
"types": ["node"], // Buffer, process, __dirname, etc.
5+
"types": ["node"],
76
"allowJs": false,
87
"isolatedModules": true
98
},
109

11-
/* Narrow include so we don’t compile the entire repo twice */
12-
"include": [
13-
"*.ts",
14-
"*.cts",
15-
"*.mts", // a couple of root-level scripts
16-
"scripts/**/*",
17-
"types/**/*"
18-
],
10+
"include": ["*.ts", "*.cts", "*.mts", "scripts/**/*", "types/**/*"],
1911

20-
/* Don’t touch the Next.js source or tests from here */
2112
"exclude": ["src/ui", "tests", "node_modules"]
2213
}

0 commit comments

Comments
 (0)