Skip to content

Commit

Permalink
chore: skip lib check and add tsconfig schema ref
Browse files Browse the repository at this point in the history
- enable skipLibCheck (recommended by TSC)

- disable stripInternal (no use)

- add tsconfig schema for auto-completion in IDE
  • Loading branch information
Conaclos committed Mar 31, 2023
1 parent c3d1f75 commit a6e8561
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tsconfig-base.jsonc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"compilerOptions": {
// https://node.green/#ES2020
// https://kangax.github.io/compat-table/es2016plus
Expand All @@ -12,11 +13,11 @@

"noEmit": true,
"sourceMap": true,
"stripInternal": true,

"esModuleInterop": true,
"isolatedModules": true,
"resolveJsonModule": true,
"skipLibCheck": true,
"verbatimModuleSyntax": true,

"allowUnreachableCode": false,
Expand Down

0 comments on commit a6e8561

Please sign in to comment.