lukeapage / eslint-plugin-destructuring

Eslint rules related to ES2015 destructuring
17 stars 5 forks source link

Configuration options for nested destructuring #41

Open joncursi opened 7 years ago

joncursi commented 7 years ago

Lots of info on this rule request here:

Quite a few people looking to see this in a plugin. Let me know what you think!

lukeapage commented 7 years ago

I agree that it most makes sense as an extension of the existing eslint rule - prefer destructuring. Otherwise it would be re-implementing alot of the same logic I expect. I created this plugin to cover a few cases where I wanted a rule but it was deemed too obscure for eslint core. I'm happy to accept any sensible contributions to this plugin though.