tc39 / tc39/ecmarkup

Feature request: support clause number permanence option

Open
#660 4 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

A CLI option that makes the number attribute mandatory in every clause and throws if there's a missing (or duplicated, or out-of-order) clause. This would require authors to explicitly indicate to readers if a clause has been deleted between versions.

It would be imperfect—for example it wouldn't catch if the last subclause in a list vanished—but it would be a great move in the right direction for clause permanence across versions.

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

Start at the CLI option handling and follow how the number attribute is validated for clauses. Define the checks for missing, duplicated, and out-of-order numbers, then verify that the option rejects each case while allowing valid numbered clauses.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.