dustinspecker / eslint-plugin-no-use-extend-native

ESLint plugin to prevent use of extended native objects
MIT License
56 stars 4 forks source link

False positive Object.assing #91

Closed gajus closed 7 years ago

gajus commented 7 years ago
Object.assing(
  overwrite,
  _cfg.allChannels.allGeos.allTypes,
  _cfg.allChannels.allGeos[_ptype],
  _cfg.allChannels[_geo].allTypes,
  _cfg.allChannels[_geo][_ptype],
  _cfg[_channel].allGeos.allTypes,
  _cfg[_channel].allGeos[_ptype],
  _cfg[_channel][_geo].allTypes,
  _cfg[_channel][_geo][_ptype]
);

Here Object.assing is giving me an error no-use-extend-native/no-use-extend-native.

dustinspecker commented 7 years ago

Are you using Object.assing or Object.assign?

gajus commented 7 years ago

Are you using Object.assing or Object.assign?

I am so sorry. :-(

dustinspecker commented 7 years ago

No worries! I'm glad to hear it's working fine.