-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
chore: update ESLint packages #3517
Conversation
Most of the changes are automatic fixes from `npm run lint:fix`. The only non-trivial change is to `.hasOwnProperty()`, which is now reported by recommended ESLint rules. See [no-prototype-builtins](https://eslint.org/docs/rules/no-prototype-builtins) for more details.
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.
Since I think we should always use Map it seems to me that the hasOwnProperty cure is worse than the illness.
Yeah, Don't like it either, but AFAICT there is no better alternative without changing the semantics of existing checks. I was also thinking to replace The other two occurrences are technically valid (although very unlikely). E.g. users can potentially add |
✅ Build karma 284 completed (commit 6facb13048 by @devoto13) |
✅ Build karma 285 completed (commit 6facb13048 by @devoto13) |
@johnjbarton Is there something you expect from me before merging or just want to give it more thought? |
🎉 This PR is included in version 5.1.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Most of the changes are automatic fixes from `npm run lint:fix`. The only non-trivial change is to `.hasOwnProperty()`, which is now reported by recommended ESLint rules. See [no-prototype-builtins](https://eslint.org/docs/rules/no-prototype-builtins) for more details.
Most of the changes are automatic fixes from
npm run lint:fix
. The only non-trivial change is to.hasOwnProperty()
, which is now reported by recommended ESLint rules. See no-prototype-builtins for more details.