Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement JSON output for diagnostics #295

Closed
wants to merge 1 commit into from

Conversation

brendanzab
Copy link
Member

Playing around with a way of rendering codespan diagnostics as JSON. This should then let us read structured error info from the the CLI commands in our tests, which is important for supporting matching against errors.

It would be really nice to upstream this to codespan-reporting at some stage, as the current method for rendering errors is not the greatest for accessibility and screen readers (see brendanzab/codespan#30), which makes me quite embarrassed!

@brendanzab brendanzab closed this Mar 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant