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
This commit is contained in:
George Kalpakas 2020-09-29 18:26:21 +03:00 committed by Joey Perrott
parent 26574a7c46
commit ac54019315
1 changed files with 10 additions and 0 deletions

View File

@ -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": [
{