Commit aa7381e
committed
feat(@schematics/angular): add a '.prettierrc' file to generated workspaces and add Prettier as dev dependency
The config was added as JSON, as this is the preferred format over executable configuration.
'.prettierignore' was not added as the '.gitignore' rules are applied by default.
Closes #32216 and closes #322221 parent 0126984 commit aa7381e
File tree
4 files changed
+14
-18
lines changed- packages/schematics/angular
- utility/latest-versions
- workspace
- files
4 files changed
+14
-18
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
Lines changed: 1 addition & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | 11 | | |
24 | 12 | | |
25 | 13 | | |
| |||
35 | 23 | | |
36 | 24 | | |
37 | 25 | | |
| 26 | + | |
38 | 27 | | |
39 | 28 | | |
40 | 29 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | 137 | | |
0 commit comments