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

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

Error when using String.prototype.padEnd() #113

Closed jorgegonzalez closed 6 years ago

jorgegonzalez commented 6 years ago

"Hello, world!".padEnd(15, " "); throws an error when this rule is used.

jorgegonzalez commented 6 years ago

@dustinspecker thank you for fixing so fast!

dustinspecker commented 6 years ago

Looks like you saw this already. I just published a new version of is-proto-prop, so you should be able to just reinstall xo then String#padEnd should work.

jorgegonzalez commented 6 years ago

You have to bump it up here to get it fixed in xo.

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