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:
parent
26574a7c46
commit
ac54019315
|
@ -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": [
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue