segmentio / eslint-config

Segment's ESLint configurations.
9 stars 6 forks source link

Warn on `==` usage #36

Closed ndhoule closed 8 years ago

ndhoule commented 8 years ago

There's no reason for ==. It has no advantage and worst case makes code more confusing. We should make this an error eventually.

Allows usage of val == null because I know some people don't want to live in a world without it.

http://eslint.org/docs/rules/eqeqeq.html

dominicbarnes commented 8 years ago

lgtm