Skip to content

Commit e69f477

Browse files
committed
build(tsconfig): own config
1 parent 7867909 commit e69f477

File tree

2 files changed

+18
-8
lines changed

2 files changed

+18
-8
lines changed

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
},
2727
"dependencies": {},
2828
"devDependencies": {
29-
"@sindresorhus/tsconfig": "^7.0.0",
3029
"@types/node": "^18.18.13",
3130
"c8": "^10.1.2",
3231
"del-cli": "^6.0.0",

tsconfig.json

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,22 @@
11
{
2-
"extends": "@sindresorhus/tsconfig",
3-
"include": [
4-
"source"
5-
],
62
"compilerOptions": {
7-
"lib": ["ES2020"],
8-
"target": "ES2020", // Node.js 14
9-
"outDir": "dist"
3+
"declaration": true,
4+
"forceConsistentCasingInFileNames": true,
5+
"module": "node16",
6+
"moduleDetection": "force",
7+
"noEmitOnError": true,
8+
"noFallthroughCasesInSwitch": true,
9+
"noImplicitOverride": true,
10+
"noImplicitReturns": true,
11+
"noPropertyAccessFromIndexSignature": true,
12+
"noUncheckedIndexedAccess": true,
13+
"noUncheckedSideEffectImports": true,
14+
"noUnusedLocals": true,
15+
"noUnusedParameters": true,
16+
"outDir": "dist",
17+
"skipLibCheck": true,
18+
"strict": true,
19+
"target": "es2020", // Node.js 14
20+
"verbatimModuleSyntax": true
1021
}
1122
}

0 commit comments

Comments
 (0)