diff --git a/.eslintrc.json b/.eslintrc.json index df79b01a09..649b8dc46b 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -32,7 +32,8 @@ }], "@typescript-eslint/no-object-literal-type-assertion": ["error", { "allowAsParameter": true - }] + }], + "@typescript-eslint/no-unused-vars": "off" }, "env": { "es6": true, diff --git a/tsconfig.json b/tsconfig.json index 9ac29a84fe..07bc24acaf 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -5,6 +5,8 @@ "declaration": true, "declarationDir": "types", "noImplicitThis": true, + "noUnusedLocals": true, + "noUnusedParameters": true, "noEmitOnError": true, "lib": [ "es5",