Commit fdeff17
refactor(@schematics/angular): add trailing commas and remove leading commas in component template
Added trailing commas to all component metadata properties in the schematic template
to ensure cleaner diffs and consistent formatting. Removed unnecessary leading commas
from conditional blocks since each property now ends with a trailing comma.
(cherry picked from commit a660d69)1 parent 3620d32 commit fdeff17
File tree
1 file changed
+6
-6
lines changed- packages/schematics/angular/component/files/__name@dasherize@if-flat__
1 file changed
+6
-6
lines changedLines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
| 11 | + | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
0 commit comments