-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
Hi,
My teammates and me have noticed you guys are using localeCompare to sort attributes:
| group.values.sort((a, b) => getString(a).localeCompare(getString(b))); |
It took me a while to figure out why prettier sorts the HTML attributes differently on different machines (localeCompare uses the locale stored in the OS).
You should maybe consider changing the compare method :)
Thank you!
mirbodis, Ludevik, tomassmeja and Okipa
Metadata
Metadata
Assignees
Labels
No labels