Skip to content

Files

Latest commit

 

History

History
15 lines (8 loc) · 571 Bytes

sort-objects.md

File metadata and controls

15 lines (8 loc) · 571 Bytes

Pattern: Unsorted objects

Issue: -

Description

Enforce sorted objects.

By adhering to this rule, developers can ensure that object keys are consistently sorted, leading to cleaner and more maintainable code. This rule promotes a standardized key ordering across objects, making it easier to navigate and understand the structure of objects within the codebase.

It’s safe. The rule considers spread elements in objects and does not break component functionality.

Further Reading