refactor(docs-infra): update docs examples tslint.json
to match CLI and fix failures (#38143)
This commit updates the `tslint.json` configuration file, that is used to lint the docs examples, to match the one generated for new Angular CLI apps. There are some minimal differences (marked with `TODO` comments) for things, such as component selector prefix, that would require extensive and/or difficult to validate changes in guides. This commit also includes the final adjustments to make the docs examples code compatible with the new tslint rules. (The bulk of the work has been done in previous commits.) PR Close #38143
This commit is contained in:

committed by
Alex Rickabaugh

parent
42f5770b7b
commit
9c5fc1693a
@ -1,4 +1,4 @@
|
||||
/* tslint:disable: no-unused-variable component-selector one-line space-before-function-paren */
|
||||
// tslint:disable: component-selector space-before-function-paren
|
||||
// #docplaster
|
||||
// #docregion
|
||||
import { Component, forwardRef, Optional, SkipSelf } from '@angular/core';
|
||||
|
Reference in New Issue
Block a user