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 new diagnostic E0721 #1212

Open msharipov opened 5 months ago

msharipov commented 5 months ago

This diagnostic reports an error when . or ?. directly follows ++ or --. Error message recommends adding parentheses around the postfix expression. This closes https://github.com/quick-lint/quick-lint-js/issues/1208.