Sort keys in all JavaScript objects.
Review Request #12769 — Created Jan. 6, 2023 and submitted
One of the ESLint settings we have turned on is enforcement of
alphabetical ordering within objects. Ordering is done within groups of
keys, separated by blank lines.This change updates all our objects to be ordered. In some cases, I
opted to just add blank lines to keep certain things (like complex
functions) from having to be reordered, putting them in their own
groups.
Verified that ESLint was happy with ordering.
Summary | ID |
---|---|
bc478ebdf6d971378a9f0dba9780912a1a87146d |
Description | From | Last Updated |
---|---|---|
Expected an assignment or function call and instead saw an expression. Column: 17 Error code: W030 |
reviewbot | |
Missing semicolon. Column: 21 Error code: E058 |
reviewbot | |
Expected an assignment or function call and instead saw an expression. Column: 23 Error code: W030 |
reviewbot | |
Expected '}' to match '{' from line 95 and instead saw ':'. Column: 21 Error code: E020 |
reviewbot | |
Missing semicolon. Column: 36 Error code: W033 |
reviewbot |
- Change Summary:
-
Fixed a missing comma due to a bad
add -p
. - Commits:
-
Summary ID fa24c89ecca2117ce363b20422a67f911ec324b3 bc478ebdf6d971378a9f0dba9780912a1a87146d - Diff:
-
Revision 2 (+318 -292)