Skip to content

Commit

Permalink
Meta: Updated to incorporate feedback on italics in "order of `resolv…
Browse files Browse the repository at this point in the history
…edOptions`" list
  • Loading branch information
ben-allen committed May 7, 2024
1 parent 1a826c9 commit 2404d76
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/style-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -217,9 +217,10 @@ For an example of when *not* to use lexicographic order, consider an array holdi

### `resolvedOptions`

:star2: <em>The `resolvedOptions` of Intl objects should appear in the following order:
:star2: *The `resolvedOptions` of Intl objects should appear with `locale` first, followed by properties guaranteed to exist that can be set via extension keys, followed by properties guaranteed to exist that are not set by extension keys, and then finally all properties that exist conditionally. Elements in each of these categories should appear in lexicographical order.* :star2:

Order of `resolvedOptions`:
1. `locale`
2. All properties (given in lexicographical order) that can be set by extension keys and that are guaranteed to exist
3. Properties (in lexicographical order) that are not set by extension keys and that are guaranteed to exist
4. All properties (in lexicographical order) that exist conditionally.</em> :star2:
4. All properties (in lexicographical order) that exist conditionally. :star2:

0 comments on commit 2404d76

Please sign in to comment.