Skip to content
This repository has been archived by the owner on Feb 21, 2022. It is now read-only.

Latest commit

 

History

History
5 lines (4 loc) · 470 Bytes

File metadata and controls

5 lines (4 loc) · 470 Bytes

Trailing commas simplify adding and removing items to objects and arrays, since only the lines you are modifying must be touched. Another argument in favor of trailing commas is that it improves the clarity of diffs when an item is added or removed from an object or array

The eslint docs, all said