Skip to content

Allow specifying a range in babel-code-frame #5064

@mohsen1

Description

@mohsen1

code frame is used in TSLint. Lint errors have a range instead of a single character pointer. Can we extend the code frame to accept a range too?

A lint error can have a range like this:

var f = ab => {};
        ~~             

I volunteer to make the change if it's an acceptable change from your side.

Metadata

Metadata

Assignees

No one assigned

    Labels

    PR: Breaking Change 💥A type of pull request used for our changelog categories for next major releasePR: New Feature 🚀A type of pull request used for our changelog categoriesoutdatedA closed issue/PR that is archived due to age. Recommended to make a new issue

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions