diff --git a/packages/build/config/tslint.build.json b/packages/build/config/tslint.build.json index a23af25e7146..84e7890b1b0e 100644 --- a/packages/build/config/tslint.build.json +++ b/packages/build/config/tslint.build.json @@ -9,12 +9,12 @@ "rules": { // These rules find errors related to TypeScript features. - // These rules catch common errors in JS programming or otherwise // confusing constructs that are prone to producing bugs. "await-promise": true, "no-floating-promises": true, + "no-unused-variable": true, "no-void-expression": [true, "ignore-arrow-function-shorthand"] } } diff --git a/packages/build/config/tslint.common.json b/packages/build/config/tslint.common.json index b8d46f249da5..78d35a3e62f3 100644 --- a/packages/build/config/tslint.common.json +++ b/packages/build/config/tslint.common.json @@ -20,7 +20,6 @@ "no-shadowed-variable": true, "no-string-throw": true, "no-unused-expression": true, - "no-unused-variable": true, "no-var-keyword": true, "triple-equals": [true, "allow-null-check", "allow-undefined-check"] }