Skip to content

es-x/no-object-map-groupby

disallow the {Object,Map}.groupBy() function (array grouping)

This rule reports ES2024 Object.groupBy() and Map.groupBy() (Array grouping) as errors.

💡 Examples

⛔ Examples of incorrect code for this rule:

Now loading...

🚀 Version

This rule was introduced in v7.5.0.

📚 References