Tslint: member-ordering is missing a code example disabling the alphabetize option

Created on 20 Oct 2017  路  1Comment  路  Source: palantir/tslint

https://palantir.github.io/tslint/rules/member-ordering/

Although alphabetize is referenced in the descriptions, it's not shown in usage. Users would have to experiment locally and/or look through the rule source to verify that it's doable with just [true, { alphabetize: false }].

Documentation Accepting PRs

Most helpful comment

@johnwiseheart I disagree that the PR #3734 closes this issue.
https://palantir.github.io/tslint/rules/member-ordering/ should have an example of usage with the alphabetize option. Its not even included in the schema.

>All comments

@johnwiseheart I disagree that the PR #3734 closes this issue.
https://palantir.github.io/tslint/rules/member-ordering/ should have an example of usage with the alphabetize option. Its not even included in the schema.

Was this page helpful?
0 / 5 - 0 ratings