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

feature: GitHub Actions-compatible output format #317

Open
twpayne opened this issue Dec 18, 2023 · 0 comments
Open

feature: GitHub Actions-compatible output format #317

twpayne opened this issue Dec 18, 2023 · 0 comments
Labels
feature a feature which should be implemented

Comments

@twpayne
Copy link

twpayne commented Dec 18, 2023

When running on GitHub Actions you can emit special commands that, for example, can be used to add annotations to pull requests. These annotations are displayed next to the file/line number in the PR's files changed view.

It would be great if, as a config option, editorconfig-checker could emit errors in this format, which is basically

::error file={name},line={line},endLine={endLine},title={title}::{message}

I would propose an OutputFormat config option in the config file with values either default or github-actions with a matching -output-format flag. When the value is github-actions the above format is used instead of the existing format.

I would be happy to create a PR for this if you want.

@per1234 per1234 added the feature a feature which should be implemented label Jan 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature a feature which should be implemented
Projects
None yet
Development

No branches or pull requests

2 participants