refactor(docs-infra): fix docs examples for tslint rules related to object properties (#38143)
This commit updates the docs examples to be compatible with the `no-string-literal`, `object-literal-key-quotes` and `object-literal-shorthand` tslint rules. This is in preparation of updating the docs examples `tslint.json` to match the one generated for new Angular CLI apps in a future commit. PR Close #38143
This commit is contained in:

committed by
Michael Prentice

parent
d89ab70036
commit
e9eeee5608
@ -111,8 +111,8 @@ describe('Component Communication Cookbook Tests', () => {
|
||||
let logs = ul.all(by.tagName('li'));
|
||||
|
||||
return {
|
||||
label: label,
|
||||
logs: logs,
|
||||
label,
|
||||
logs,
|
||||
count: logs.count()
|
||||
};
|
||||
}
|
||||
|
@ -49,6 +49,6 @@ if (!/e2e/.test(location.search)) {
|
||||
],
|
||||
declarations: directives,
|
||||
bootstrap: [ AppComponent ],
|
||||
schemas: schemas
|
||||
schemas
|
||||
})
|
||||
export class AppModule { }
|
||||
|
Reference in New Issue
Block a user