-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Labels
accepting prsGo ahead, send a pull request that resolves this issueGo ahead, send a pull request that resolves this issuelocked due to agePlease open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing.Please open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing.repo maintenancethings to do with maintenance of the repo, and not with code/docsthings to do with maintenance of the repo, and not with code/docs
Milestone
Description
Suggestion
ESLint uses Object.hasOwn()
(e.g. in lib/rules/prefer-object-has-own
). That's a good sign that we should be able to use it too!
But, our TSConfig lib range is only up to "ES2021"
right now. That doesn't allow Object.hasOwn
. Which makes me think that we should upgrade our lib
and/or target
in our TSConfigs to match ESLint's to at least... "ES2022"
? Investigation required.
Note: please target this against the v8
branch. Just to be safe, let's treat it as a followup to #8929 -> #8973.
💖
Metadata
Metadata
Assignees
Labels
accepting prsGo ahead, send a pull request that resolves this issueGo ahead, send a pull request that resolves this issuelocked due to agePlease open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing.Please open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing.repo maintenancethings to do with maintenance of the repo, and not with code/docsthings to do with maintenance of the repo, and not with code/docs