Skip to content

Commit 1cd476d

Browse files
committed
refactor(tsconfig): update config with Vue and strictest schemas
1 parent 50e5bf9 commit 1cd476d

File tree

1 file changed

+10
-18
lines changed

1 file changed

+10
-18
lines changed

tsconfig.json

Lines changed: 10 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,14 @@
11
{
2+
"$schema": "https://json.schemastore.org/tsconfig",
3+
"extends": [
4+
"@vue/tsconfig/tsconfig",
5+
"@vue/tsconfig/tsconfig.lib",
6+
"@tsconfig/strictest/tsconfig"
7+
],
28
"compilerOptions": {
3-
"allowJs": true,
4-
"allowUnreachableCode": false,
5-
"allowUnusedLabels": false,
6-
"declaration": true,
7-
"esModuleInterop": true,
8-
"exactOptionalPropertyTypes": true,
9-
"isolatedModules": true,
10-
"lib": ["dom", "dom.iterable", "esnext"],
11-
"module": "preserve",
12-
"moduleDetection": "force",
13-
"noImplicitOverride": true,
14-
"noUncheckedIndexedAccess": true,
15-
"outDir": "dist",
16-
"resolveJsonModule": true,
17-
"skipLibCheck": true,
18-
"strict": true,
19-
"target": "esnext"
9+
"emitDeclarationOnly": false,
10+
"allowImportingTsExtensions": false,
11+
"outDir": "dist"
2012
},
21-
"include": ["./src/**/*.ts"]
13+
"include": ["src/**/*.ts"]
2214
}

0 commit comments

Comments
 (0)