Page MenuHomePhabricator

[Platform UI] eslint: require trailing comma on multiline objects and arrays
Closed, ResolvedPublic

Description

This is beneficial for the following reasons:

  • improves clarity of diffs when an item is added or removed from an object or array
  • reduces the chances of having merge conflicts, since only the lines you are modifying are touched
  • simplifies adding and removing items to objects and arrays, since only the lines you are modifying must be touched

PR: https://github.com/wbstack/ui/pull/1110

Event Timeline

Ollie.Shotton_WMDE renamed this task from eslint: require trailing comma on multiline objects and arrays to [Platform UI] eslint: require trailing comma on multiline objects and arrays.Mar 20 2026, 5:49 PM