From e3d8b7e83b4915abd435ee5fbf93b2bf19d1f956 Mon Sep 17 00:00:00 2001 From: Aya Morisawa Date: Thu, 29 Dec 2016 10:01:40 +0900 Subject: [PATCH] Use compiler option instead of linter option --- tsconfig.json | 2 ++ tslint.json | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index 9fa05af4e..0b7f78c68 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,6 +3,8 @@ "noEmitOnError": false, "noImplicitAny": false, "noImplicitReturns": true, + "noUnusedParameters": true, + "noUnusedLocals": true, "noFallthroughCasesInSwitch": true, "experimentalDecorators": true, "declaration": false, diff --git a/tslint.json b/tslint.json index 3e343c482..ad1a97de0 100644 --- a/tslint.json +++ b/tslint.json @@ -54,7 +54,6 @@ "no-unsafe-finally": true, "no-unused-expression": true, "no-unused-new": true, - "no-unused-variable": true, "no-use-before-declare": true, "no-var-keyword": true, "radix": true,