segmentio / eslint-config

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

Restrict usage of `with` and `class` #35

Closed ndhoule closed 8 years ago

ndhoule commented 8 years ago

You shouldn't be using with (it's an exception in strict mode anyway) and we've all (pretty much?) agreed that class syntax is not what we want to use.

stephenmathieson commented 8 years ago

i've never actually seen anyone try to sneak either in... but this makes sense to me :)

ndhoule commented 8 years ago

Cherry picked into 2dc1a50f36e66e8127237e93f452bd113348cbed.