Skip to content

Commit

Permalink
docs(eslint-plugin): rewrite member-ordering docs (#349)
Browse files Browse the repository at this point in the history
Part of the [PR to enforce an alphabetic order for members](#2639) is to rewrite the existing docs to better document the current behavior of `member-ordering`. As this touches almost any line in the rule documentation, I thought it makes sense to open a separate PR for that.

In this PR, I've reworked the entire rule documentation to make it (hopefully) more clear how this rule works. The examples are mostly taken from the current rule documentation - some with little adaptations.
Besides that, I've changed a few names and added some comments in the rule implementation to make it more understandable (basically the points I didn't understand immediately while trying to understand the current implementation to better describe the rule).
  • Loading branch information
timkraut authored and bradzacher committed Mar 13, 2019
1 parent 18484a2 commit 3b28cac
Show file tree
Hide file tree
Showing 2 changed files with 474 additions and 418 deletions.

0 comments on commit 3b28cac

Please sign in to comment.