Detect an array with a single item used to create a resource #795
Labels
New Cop Proposal
A proposal for a new Cookstyle cop
Status: Untriaged
An issue that has yet to be triaged.
What category of cop is this?:
Please try to select as few as possible.
Describe the new cop:
Iterating over an array with a single object to create a resource is way more complex than we need to be.
What it would trigger on:
What it would autocorrect to if applicable
The text was updated successfully, but these errors were encountered: