eslint-plugin-destructuring icon indicating copy to clipboard operation
eslint-plugin-destructuring copied to clipboard

Configuration options for nested destructuring

Open joncursi opened this issue 8 years ago • 1 comments

Lots of info on this rule request here:

  • https://github.com/eslint/eslint/issues/7973
  • https://github.com/eslint/eslint/issues/7973#issuecomment-280716417

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

joncursi avatar Feb 17 '17 17:02 joncursi

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.

lukeapage avatar Feb 18 '17 07:02 lukeapage