From d62ad12794fca66b167aad420a37275f609d0ad1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cguilsuper=E2=80=9D?= Date: Mon, 26 Oct 2020 09:56:19 +0100 Subject: [PATCH] fix: #123 switch noFallthroughCasesInSwitch to true https://github.com/facebook/create-react-app/issues/9429 --- template/tsconfig.json | 13 ++++--------- tsconfig.json | 13 ++++--------- 2 files changed, 8 insertions(+), 18 deletions(-) diff --git a/template/tsconfig.json b/template/tsconfig.json index f2850b7..6308cb8 100644 --- a/template/tsconfig.json +++ b/template/tsconfig.json @@ -1,11 +1,7 @@ { "compilerOptions": { "target": "es5", - "lib": [ - "dom", - "dom.iterable", - "esnext" - ], + "lib": ["dom", "dom.iterable", "esnext"], "allowJs": true, "skipLibCheck": true, "esModuleInterop": true, @@ -17,9 +13,8 @@ "resolveJsonModule": true, "isolatedModules": true, "noEmit": true, - "jsx": "react" + "jsx": "react", + "noFallthroughCasesInSwitch": true }, - "include": [ - "src" - ] + "include": ["src"] } diff --git a/tsconfig.json b/tsconfig.json index f2850b7..6308cb8 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,11 +1,7 @@ { "compilerOptions": { "target": "es5", - "lib": [ - "dom", - "dom.iterable", - "esnext" - ], + "lib": ["dom", "dom.iterable", "esnext"], "allowJs": true, "skipLibCheck": true, "esModuleInterop": true, @@ -17,9 +13,8 @@ "resolveJsonModule": true, "isolatedModules": true, "noEmit": true, - "jsx": "react" + "jsx": "react", + "noFallthroughCasesInSwitch": true }, - "include": [ - "src" - ] + "include": ["src"] }