File tree Expand file tree Collapse file tree 2 files changed +14
-9
lines changed Expand file tree Collapse file tree 2 files changed +14
-9
lines changed Original file line number Diff line number Diff line change @@ -2892,9 +2892,9 @@ class RowContextCdkTableApp {
28922892 imports : [ CdkTableModule ] ,
28932893} )
28942894class WrapperCdkTableApp < T > implements AfterContentInit {
2895- @ContentChildren ( CdkColumnDef ) columnDefs : QueryList < CdkColumnDef > ;
2895+ @ContentChildren ( CdkColumnDef , { descendants : false } ) columnDefs : QueryList < CdkColumnDef > ;
28962896 @ContentChild ( CdkHeaderRowDef ) headerRowDef : CdkHeaderRowDef ;
2897- @ContentChildren ( CdkRowDef ) rowDefs : QueryList < CdkRowDef < T > > ;
2897+ @ContentChildren ( CdkRowDef , { descendants : false } ) rowDefs : QueryList < CdkRowDef < T > > ;
28982898 @ContentChild ( CdkNoDataRow ) noDataRow : CdkNoDataRow ;
28992899
29002900 @ViewChild ( CdkTable , { static : true } ) table : CdkTable < T > ;
Original file line number Diff line number Diff line change 9595 "argument" : 0 ,
9696 "properties" : {
9797 "!preserveWhitespaces" : " .*" ,
98- "!styles" : " .*" ,
9998 "!moduleId" : " .*" ,
99+ "!standalone" : " .*"
100+ }
101+ },
102+ // Don't require `ViewEncapsulation.None` and allow inline styles in non-production code.
103+ {
104+ "argument" : 0 ,
105+ "properties" : {
106+ "!styles" : " .*" ,
100107 "encapsulation" : " \\ .None$"
101108 },
102- "excludeFiles" : [" **/dev-app/**" , " **/docs/**" ]
109+ "excludeFiles" : [" **/dev-app/**" , " **/docs/**" , " **/*.spec.ts " ]
103110 },
104111 // Enforce OnPush & standalone even in the dev-app.
105112 {
106113 "argument" : 0 ,
107114 "properties" : {
108- "changeDetection" : " \\ .OnPush$" ,
109- "!standalone" : " .*"
115+ "changeDetection" : " \\ .OnPush$"
110116 },
111- "excludeFiles" : [" **/docs/**" ]
117+ "excludeFiles" : [" **/docs/**" , " **/*.spec.ts " ]
112118 }
113119 ],
114120 "Directive" : [
142148 },
143149 [
144150 // Internal code that doesn't need to follow the same standards.
145- " **/+(e2e-app|components-examples|universal-app|integration)/**" ,
146- " **/*.spec.ts"
151+ " **/+(e2e-app|components-examples|universal-app|integration)/**"
147152 ]
148153 ],
149154 "require-license-banner" : [
You can’t perform that action at this time.
0 commit comments