buildo / eslint-config

buildo's eslint shared config
http://buildo.io
4 stars 2 forks source link

Disallow Use of `undefined` Variable (no-undefined) #111

Closed FrancescoCioria closed 7 years ago

FrancescoCioria commented 7 years ago

Disallow Use of undefined Variable (no-undefined)

eslint rule: http://eslint.org/docs/rules/no-undefined

gabro commented 7 years ago

linto report?

FrancescoCioria commented 7 years ago

mmm, that rule forbids other things we use and like -> ex: x = y ? t.ciao : undefined

what I really wanted to forbid was x === undefined as at buildo we all agreed to use typeof x !== 'undefined'... soo, I'll close this issue for now