New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rule Proposal: sort-keys #6076
Labels
accepted
There is consensus among the team that this change meets the criteria for inclusion
archived due to age
This issue has been archived; please open a new issue for any further discussion
feature
This change adds a new feature to ESLint
rule
Relates to ESLint's core rules
Projects
Milestone
Comments
mysticatea
added
rule
Relates to ESLint's core rules
feature
This change adds a new feature to ESLint
evaluating
The team will evaluate this issue to decide whether it meets the criteria for inclusion
labels
May 4, 2016
Note that some major libraries (e.g. React's transition group) rely on the de-facto preservation of object property ordering. |
@jedwards1211 Of course, those folks don't need to turn on this rule. 😄 |
For reference, see this plugin https://github.com/jacobrask/eslint-plugin-sorting |
I'll support it, 👍 |
The proposed options make sense to me. 👍 |
Per TSC meeting (7/21/16), marking as accepted. |
nzakas
added
accepted
There is consensus among the team that this change meets the criteria for inclusion
and removed
evaluating
The team will evaluate this issue to decide whether it meets the criteria for inclusion
labels
Jul 21, 2016
I will work on this. |
mysticatea
added a commit
that referenced
this issue
Jul 25, 2016
mysticatea
added a commit
that referenced
this issue
Jul 30, 2016
mysticatea
added a commit
that referenced
this issue
Jul 30, 2016
mysticatea
added a commit
that referenced
this issue
Aug 9, 2016
mysticatea
added a commit
that referenced
this issue
Aug 11, 2016
eslint-deprecated
bot
added
the
archived due to age
This issue has been archived; please open a new issue for any further discussion
label
Feb 6, 2018
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
accepted
There is consensus among the team that this change meets the criteria for inclusion
archived due to age
This issue has been archived; please open a new issue for any further discussion
feature
This change adds a new feature to ESLint
rule
Relates to ESLint's core rules
From validateOrderInObjectKeys.
This rule will enforce the order of object properties by their names.
"asc"
(default) - Requires sorting in ascending order."desc"
- Requires sorting in descending order.insensitive"
(default isfalse
) - If this istrue
, this rule compares keys in case-insensitive.natural"
(default isfalse
) - If this istrue
, this rule compares keys in natural order.The text was updated successfully, but these errors were encountered: