diff options
| author | Aya Morisawa <AyaMorisawa4869@gmail.com> | 2016-12-29 10:01:40 +0900 |
|---|---|---|
| committer | Aya Morisawa <AyaMorisawa4869@gmail.com> | 2016-12-29 10:01:40 +0900 |
| commit | 3e64cf1b0fed8d0a60c4d0d42280c7cb70fecbdc (patch) | |
| tree | aa09dea6a4104f6f21c92e84fa86f500d53b3e41 | |
| parent | Remove needless empty line (diff) | |
| download | sharkey-3e64cf1b0fed8d0a60c4d0d42280c7cb70fecbdc.tar.gz sharkey-3e64cf1b0fed8d0a60c4d0d42280c7cb70fecbdc.tar.bz2 sharkey-3e64cf1b0fed8d0a60c4d0d42280c7cb70fecbdc.zip | |
Use compiler option instead of linter option
| -rw-r--r-- | tsconfig.json | 2 | ||||
| -rw-r--r-- | tslint.json | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/tsconfig.json b/tsconfig.json index 9fa05af4e7..0b7f78c684 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 3e343c482a..ad1a97de08 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, |