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.55k stars 192 forks source link

feat(fe): add new diagnostic E0721 #1212

Open msharipov opened 8 months ago

msharipov commented 8 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.