Skip to content

Commit fb59758

Browse files
brianpilatiBrocco
authored andcommitted
style(@angular/cli): Alphabetized the keys for the angular:component properties object
1 parent f3af8cc commit fb59758

File tree

1 file changed

+35
-35
lines changed

1 file changed

+35
-35
lines changed

packages/@angular/cli/lib/config/schema.json

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,23 @@
7474
"@schematics/angular:component": {
7575
"type": "object",
7676
"properties": {
77+
"changeDetection": {
78+
"description": "Specifies the change detection strategy.",
79+
"enum": ["Default", "OnPush"],
80+
"type": "string",
81+
"default": "Default",
82+
"alias": "c"
83+
},
84+
"export": {
85+
"type": "boolean",
86+
"default": false,
87+
"description": "Specifies if declaring module exports the component."
88+
},
89+
"flat": {
90+
"type": "boolean",
91+
"description": "Flag to indicate if a dir is created.",
92+
"default": false
93+
},
7794
"inlineStyle": {
7895
"description": "Specifies if the style will be in the ts file.",
7996
"type": "boolean",
@@ -86,59 +103,42 @@
86103
"default": false,
87104
"alias": "t"
88105
},
89-
"viewEncapsulation": {
90-
"description": "Specifies the view encapsulation strategy.",
91-
"enum": ["Emulated", "Native", "None"],
92-
"type": "string",
93-
"alias": "v"
94-
},
95-
"changeDetection": {
96-
"description": "Specifies the change detection strategy.",
97-
"enum": ["Default", "OnPush"],
106+
"module": {
98107
"type": "string",
99-
"default": "Default",
100-
"alias": "c"
108+
"description": "Allows specification of the declaring module.",
109+
"alias": "m"
101110
},
102111
"prefix": {
103112
"type": "string",
104113
"format": "html-selector",
105114
"description": "The prefix to apply to generated selectors.",
106115
"alias": "p"
107116
},
108-
"styleext": {
109-
"description": "The file extension to be used for style files.",
117+
"selector": {
110118
"type": "string",
111-
"default": "css"
112-
},
113-
"spec": {
114-
"type": "boolean",
115-
"description": "Specifies if a spec file is generated.",
116-
"default": true
117-
},
118-
"flat": {
119-
"type": "boolean",
120-
"description": "Flag to indicate if a dir is created.",
121-
"default": false
119+
"format": "html-selector",
120+
"description": "The selector to use for the component."
122121
},
123122
"skipImport": {
124123
"type": "boolean",
125124
"description": "Flag to skip the module import.",
126125
"default": false
127126
},
128-
"selector": {
129-
"type": "string",
130-
"format": "html-selector",
131-
"description": "The selector to use for the component."
127+
"spec": {
128+
"type": "boolean",
129+
"description": "Specifies if a spec file is generated.",
130+
"default": true
132131
},
133-
"module": {
132+
"styleext": {
133+
"description": "The file extension to be used for style files.",
134134
"type": "string",
135-
"description": "Allows specification of the declaring module.",
136-
"alias": "m"
135+
"default": "css"
137136
},
138-
"export": {
139-
"type": "boolean",
140-
"default": false,
141-
"description": "Specifies if declaring module exports the component."
137+
"viewEncapsulation": {
138+
"description": "Specifies the view encapsulation strategy.",
139+
"enum": ["Emulated", "Native", "None"],
140+
"type": "string",
141+
"alias": "v"
142142
}
143143
}
144144
},

0 commit comments

Comments
 (0)