babel / babel/website

Babel repl text formatting issue

Open
#2,165 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
777
Forks
1.4k
Avg merge
16h 45m
Merged PRs (30d)
3

Description

[Link to repl](https://babeljs.io/repl/#?browsers=&build=&builtIns=false&spec=false&loose=false&code_lz=MYGwhgzhAECC0G8BQ1oGIAe0C80AMA3CtMAPYB2EALgE4CuwVpNAFAJTKoCQVAFgJYQAdJgDUooqlRlKpEAFMhIUgHMWAcgCe6gDTQ-gkRjaToAXyQWZ1aDFzl5AdzjsiSIA&debug=false&forceAllTransforms=false&shippedProposals=false&circleciRepo=&evaluate=true&fileSize=false&timeTravel=false&sourceType=module&lineWrap=true&presets=es2015%2Creact%2Cstage-2&prettier=false&targets=&version=7.8.4&externalPlugins=%40babel%2Fplugin-proposal-function-bind%407.8.3%2C%40babel%2Fplugin-proposal-class-properties%407.8.3%2C%40babel%2Fplugin-proposal-private-methods%407.8.3). Screenshot:
![obraz](https://user-images.githubusercontent.com/20562545/73591490-69bba880-44ef-11ea-8994-4bacac651c89.png)
As you can see red is marked to the end of line including `;` and `)`

Contributor guide

No contributing guide indexed for this repository

Research direction

Open the linked Babel REPL and reproduce the reported formatting, noting how the red highlight extends through the semicolon and closing parenthesis. Trace the REPL's formatting or highlighting behavior from there; the issue is done when the highlighted range matches the actual problematic text rather than the rest of the line.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.