From 46b91056676749c101c8e65a2b269665f7bc44ae Mon Sep 17 00:00:00 2001 From: kobanyan Date: Sat, 17 Mar 2018 23:37:43 +0900 Subject: [PATCH] Disallow unused locals --- tsconfig.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index 5628cfb..d23a31d 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -8,7 +8,8 @@ "jsx": "react", "moduleResolution": "node", "noImplicitThis": true, - "noImplicitAny": true + "noImplicitAny": true, + "noUnusedLocals": true }, "exclude": ["build", "dist", "node_modules", "pem", "resources", "scripts", "webpack", "**/__tests__/*"], "types": ["typePatches"]