wikimedia / eslint-plugin-no-jquery

Control allowance of certain jQuery functions, and suggest or autofix alternatives.
MIT License
32 stars 8 forks source link

"no-extend" should have option for deep cloning #144

Closed Paril closed 4 years ago

Paril commented 4 years ago

While $.extend(objects...) is a pretty replacable feature, $.extend(true, objects...) is not, and is still a useful feature that you can't replace with a simple function. Would be nice to have an option to turn these off, so I can still yell at attempts to not use spread/rest or Object.assign :)