jamesallardice / jslint-error-explanations

:memo: Explanations of all the (sometimes cryptic) error messages thrown by JSLint and JSHint
http://linterrors.com
293 stars 35 forks source link

Two new rule descriptions #11

Closed jklein closed 11 years ago

jklein commented 11 years ago
  1. Expected a conditional expression and instead saw an assignment
  2. Did you mean to return a conditional instead of an assignment?

Also added myself as an author.

jamesallardice commented 11 years ago

Many thanks for this - you're the first person to submit new articles! I've made one small comment in the diff, so I'll merge this in as soon as that's been resolved. Thanks again.

jklein commented 11 years ago

Whoops! Good call - I simplified the example after my original pass and missed updating those.

jamesallardice commented 11 years ago

Merged and pushed to gh-pages. Thanks again!