Skip to content

Commit f47b050

Browse files
jsshandlehansl
authored andcommitted
fix(@angular/cli): adjust blueprint tslint.json rule member-ordering
1 parent 02c7d89 commit f47b050

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

packages/@angular/cli/blueprints/ng/files/tslint.json

+8-2
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,14 @@
3131
"member-access": false,
3232
"member-ordering": [
3333
true,
34-
"static-before-instance",
35-
"variables-before-functions"
34+
{
35+
"order": [
36+
"static-field",
37+
"instance-field",
38+
"static-method",
39+
"instance-method"
40+
]
41+
}
3642
],
3743
"no-arg": true,
3844
"no-bitwise": true,

0 commit comments

Comments
 (0)