es-x/no-object-map-groupby
disallow the
{Object,Map}.groupBy()
function (array grouping)
- ✅ The following configurations enable this rule: no-new-in-esnext
This rule reports ES2024 Object.groupBy()
and Map.groupBy()
(Array grouping) as errors.
💡 Examples
⛔ Examples of incorrect code for this rule:
🚀 Version
This rule was introduced in v7.5.0.