From ac540193152abef3b70ca06e00559a9680172b5b Mon Sep 17 00:00:00 2001 From: George Kalpakas Date: Tue, 29 Sep 2020 18:26:21 +0300 Subject: [PATCH] refactor(docs-infra): leave TODO comments for aligning tslint with CLI (#39018) This commit adds some TODO comments in `tslint.json` regardling rules that need to be enabled or removed to more closely align `tslint.json` with the one generated by the latest Angular CLI for new apps. Updating these rules generates a lot of linting failures, so fixing them is outside the scope of this PR. PR Close #39018 --- aio/tslint.json | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/aio/tslint.json b/aio/tslint.json index b6d76e15af..044f74da1b 100644 --- a/aio/tslint.json +++ b/aio/tslint.json @@ -48,6 +48,8 @@ ] } ], + // TODO(gkalpak): Fix the code and enable this to align with CLI. (Failures: 114) + // "no-any": true, "no-console": [ true, "debug", @@ -61,7 +63,10 @@ true, "ignore-params" ], + // TODO(gkalpak): Fix the code and enable this to align with CLI. (Failures: 59) + // "no-non-null-assertion": true, "no-redundant-jsdoc": true, + // TODO(gkalpak): Fix the code and remove this to align with CLI. "no-switch-case-fall-through": true, "no-var-requires": false, "object-literal-key-quotes": [ @@ -86,6 +91,11 @@ "named": "never" } }, + // TODO(gkalpak): Fix the code and enable this to align with CLI. (Failures: 243) + // "typedef": [ + // true, + // "call-signature" + // ], "typedef-whitespace": { "options": [ {