quick-lint / quick-lint-js

quick-lint-js finds bugs in JavaScript programs
https://quick-lint-js.com
GNU General Public License v3.0
1.52k stars 191 forks source link

feat(fe): add warning for 'let({x} = y);' #1211

Closed msharipov closed 5 months ago

msharipov commented 5 months ago

Added a new diagnostic E0720 that closes #1203. Issues a warning when a function let() is called on an object assignment expression.

https://github.com/quick-lint/quick-lint-js/issues/1203

msharipov commented 5 months ago

@strager Thank you for the feedback! I have made the necessary corrections to the pull request.

strager commented 5 months ago

Landed your patch as Git commit c8b32584f1ad8d1bc88a293e451886880c6d0bb9.