-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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 discussioncoreRelates to ESLint's core APIs and featuresRelates to ESLint's core APIs and featuresenhancementThis 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 4
Description
The version of ESLint you are using.
6.7
The problem you want to solve.
Support two new ES features: Optional Chaining and Nullish coalescing Operator.
Your take on the correct solution to problem.
- ESTree: Add optional chaining estree/estree#204 and Add nullish coalescing support estree/estree#211
- Acorn: add Nullish Coalescing acornjs/acorn#890 and add Optional Chaining acornjs/acorn#891
- eslint-visitor-keys: Update: add
ChainExpression
node eslint-visitor-keys#12 - Espree: Update: support
??
operator,import.meta
, andexport * as ns
js#441 and Update: support optional chaining js#446 - ESLint: Update: support
??
operator, import.meta, andexport * as ns
#13196 and Update: optional chaining support (fixes #12642) #13416
(Template inspired by Issue 12629)
mysticatea, ianschmitz, glen-84, sergei-startsev, NemoStein and 53 more
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 discussioncoreRelates to ESLint's core APIs and featuresRelates to ESLint's core APIs and featuresenhancementThis 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 4