comma-dangle does not catch dangling commas in object destructuring #2911
Labels
accepted
There is consensus among the team that this change meets the criteria for inclusion
archived due to age
This issue has been archived; please open a new issue for any further discussion
bug
ESLint is working incorrectly
rule
Relates to ESLint's core rules
With this rule:
I expect an error with this code (using object destructuring):
For comparison, I do get an error (as expected) with this code (using an object literal):
The text was updated successfully, but these errors were encountered: