Skip to content

Commit cac7c3a

Browse files
committed
Simplify gulpfile.ts/tsconfig.json
The `tsconfig.json` inside `gulpfile.ts` needs to match the root `tsconfig.json`, so by making it extend the root `tsconfig.json` and changing just the options which decide which files are included, we can remove a lot of duplication.
1 parent 2e7557b commit cac7c3a

File tree

1 file changed

+2
-16
lines changed

1 file changed

+2
-16
lines changed
Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,8 @@
11
{
22
"$schema": "https://json.schemastore.org/tsconfig",
3+
"extends": "../tsconfig.json",
34
"compilerOptions": {
4-
"declaration": true,
5-
"strict": true,
6-
"module": "commonjs",
7-
"target": "es2021",
8-
"lib": ["ES2021"],
9-
"moduleResolution": "node",
10-
"sourceMap": true,
11-
"rootDir": ".",
12-
"strictNullChecks": true,
13-
"noFallthroughCasesInSwitch": true,
14-
"preserveWatchOutput": true,
15-
"newLine": "lf",
16-
"noImplicitReturns": true,
17-
"experimentalDecorators": true,
18-
"noUnusedLocals": true,
19-
"noUnusedParameters": true
5+
"rootDir": "."
206
},
217
"include": ["*.ts"]
228
}

0 commit comments

Comments
 (0)