-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix: Lint no-prototype-builtins #5920
Conversation
Codecov Report
@@ Coverage Diff @@
## master #5920 +/- ##
==========================================
- Coverage 93.69% 93.68% -0.01%
==========================================
Files 153 153
Lines 10777 10801 +24
==========================================
+ Hits 10097 10119 +22
- Misses 680 682 +2
Continue to review full report at Codecov.
|
The recommendation in the reference is actually |
@davimacedo I agree with you, most of the documentation I looked up uses Object.prototype. I made the changes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
* Fix: Lint no-prototype-builtins Closes: parse-community#5842 Reference: https://eslint.org/docs/rules/no-prototype-builtins * replace Object.hasOwnProperty.call
Closes: #5842
Reference: https://eslint.org/docs/rules/no-prototype-builtins