From cfe110f7cf5f26d9882b459ac4c2188d6b3ec03e Mon Sep 17 00:00:00 2001 From: "NotFounds(Iori IKEDA)" Date: Tue, 11 Apr 2023 03:01:02 +0900 Subject: [PATCH] Apply recommended settings for tsconfig.json --- tsconfig.json | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index 3d6b9c3..2988726 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,7 +2,11 @@ "compilerOptions": { "outDir": "dist", "module": "esnext", - "lib": ["dom", "esnext", "es2022.intl"], + "lib": [ + "dom", + "esnext", + "es2022.intl" + ], "moduleResolution": "node", "jsx": "react", "sourceMap": true, @@ -14,8 +18,22 @@ "strictNullChecks": true, "noUnusedLocals": true, "noUnusedParameters": true, - "allowSyntheticDefaultImports": true + "allowSyntheticDefaultImports": true, + "target": "esnext", + "allowJs": true, + "skipLibCheck": true, + "strict": true, + "forceConsistentCasingInFileNames": true, + "resolveJsonModule": true, + "isolatedModules": true, + "noEmit": true }, - "include": ["src"], - "exclude": ["node_modules", "dist", "example"] + "include": [ + "src" + ], + "exclude": [ + "node_modules", + "dist", + "example" + ] }