-
-
Notifications
You must be signed in to change notification settings - Fork 5k
🎉 Object Rest/Spread Properties arrived at stage 4 #9885
Copy link
Copy link
Closed
Labels
acceptedThere is consensus among the team that this change meets the criteria for inclusionThere is consensus among the team that this change meets the criteria for inclusionarchived due to ageThis issue has been archived; please open a new issue for any further discussionThis issue has been archived; please open a new issue for any further discussionenhancementThis change enhances an existing feature of ESLintThis change enhances an existing feature of ESLintnew syntaxThis issue is related to new syntax that has reached stage 4This issue is related to new syntax that has reached stage 4ruleRelates to ESLint's core rulesRelates to ESLint's core rules
Metadata
Metadata
Assignees
Labels
acceptedThere is consensus among the team that this change meets the criteria for inclusionThere is consensus among the team that this change meets the criteria for inclusionarchived due to ageThis issue has been archived; please open a new issue for any further discussionThis issue has been archived; please open a new issue for any further discussionenhancementThis change enhances an existing feature of ESLintThis change enhances an existing feature of ESLintnew syntaxThis issue is related to new syntax that has reached stage 4This issue is related to new syntax that has reached stage 4ruleRelates to ESLint's core rulesRelates to ESLint's core rules
It's the time to update our rules to be according to the current ESTree spec.
ecmaVersion:2018.I think we should keep
ecmaFeatures.experimentalObjectRestSpreadto avoid breaking changes.ecmaVersion:2018and noecmaFeatures.experimentalObjectRestSpread, Espree generatesRestElement/SpreadElement.ecmaFeatures.experimentalObjectRestSpread:true, Espree generatesExperimentalRestProperty/ExperimentalSpreadPropertyas is.