Skip to content

Commit f5c7184

Browse files
Update tsconfig and ci
1 parent dd865b6 commit f5c7184

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
run: bun install
2020

2121
- name: Type Check
22-
run: bunx tsc --project tsconfig.json --noEmit --skipLibCheck --include src/**/* --exclude node_modules
22+
run: bunx tsc --project tsconfig.json --noEmit
2323

2424
- name: Lint
2525
run: bun run lint

tsconfig.json

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,18 @@
33
"target": "ESNext",
44
"module": "ESNext",
55
"moduleResolution": "Bundler",
6-
"lib": ["ESNext", "DOM", "WebWorker"], // <--- Fondamentale per i tipi Web
6+
"lib": ["ESNext", "DOM", "WebWorker"],
77
"types": ["bun"],
8-
"skipLibCheck": true, // Salta i controlli sui .d.ts
8+
"strict": false,
9+
"skipLibCheck": true,
910
"noEmit": true,
10-
"strict": false, // Rilassa i controlli sulle dipendenze
11+
"allowImportingTsExtensions": true,
12+
"esModuleInterop": true,
1113
"baseUrl": ".",
1214
"paths": {
1315
"@ovencord/*": ["./node_modules/@ovencord/*/src/index.ts"]
1416
}
1517
},
16-
"include": ["src/**/*"], // <--- IMPORTE: Forza TS a guardare SOLO il tuo codice
17-
"exclude": ["node_modules", "**/dist", "**/__tests__"]
18+
"include": ["src/**/*"],
19+
"exclude": ["node_modules", "dist"]
1820
}

0 commit comments

Comments
 (0)