tc39 / tc39/ecmarkup

"literal BigInt values should be bolded" rule doesn't catch all cases

Open
#318 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
245
Forks
80
Avg merge
10h 46m
Merged PRs (30d)
2

Description

I've noticed that this rule catches 1000<sub>ℤ</sub> (which should be *1000*<sub>ℤ</sub>) but fails to catch scientific notation like 10<sup>3</sup><sub>ℤ</sub> or −8.64 × 10<sup>21</sup><sub>ℤ</sub>.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named. Locate the rule that bolds literal BigInt values, then inspect how it parses plain, scientific, and multiplication notation. Done means the rule also catches 103 and −8.64 × 1021 while retaining the existing 1000 behavior.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.