Skip to content

Commit

Permalink
Fix example for member-ordering to be valid (palantir#3276)
Browse files Browse the repository at this point in the history
  • Loading branch information
HolgerJeromin authored and ajafff committed Oct 5, 2017
1 parent dfc444b commit 73b30a7
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/rules/memberOrderingRule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,9 +159,12 @@ export class Rule extends Lint.Rules.AbstractRule {
[true, { order: "fields-first" }],
[true, {
order: [
"static-field",
"instance-field",
"constructor",
"public-static-field",
"public-instance-field",
"public-constructor",
"private-static-field",
"private-instance-field",
"private-constructor",
"public-instance-method",
"protected-instance-method",
"private-instance-method",
Expand Down

0 comments on commit 73b30a7

Please sign in to comment.