MetaMask / MetaMask/template-snap-monorepo

Allow optional chaining

Open
#43 0 comments 0 reactions 0 assignees View on GitHub
snaps-deferred
Dominant language
TypeScript
Stars
125
Forks
94
PR merge metrics
No merged PRs in 30d

Description

Today if you use [optional chaining](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Optional_chaining) the linting rules show a red thing constantly b/c it may not have that key, but that's what optional chaining is for.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the repository's linting rules and the checks that report errors for optional chaining. Confirm how the linked JavaScript optional-chaining syntax is currently handled; done means valid optional chaining no longer produces the reported lint warning while other linting behavior remains intact.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.