Skip to content

Request for Enhanced JSON Output in Reporter #4868

@GiladShoham

Description

@GiladShoham

In the default reporter/output, line and column numbers are displayed directly, while in the JSON output, only the offset is returned. This requires users to manually calculate the line and column numbers.

Additionally, the default formatter provides valuable context by displaying the line of the error along with the preceding and following lines. However, users relying on the JSON output currently need to compute this context themselves.

It would be greatly beneficial if this information were included in the JSON output as well.

Thank you!

Metadata

Metadata

Assignees

Labels

A-linterArea - LinterC-enhancementCategory - New feature or requestE-Help WantedExperience level - For the experienced collaboratorsgood first issueExperience Level - Good for newcomers

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions