Skip to content

Conversation

javiereguiluz
Copy link
Member

Fixes #14583.

@javiereguiluz javiereguiluz added this to the 5.3 milestone Jan 8, 2021
@OskarStark
Copy link
Contributor

Thank you Javier.

@OskarStark OskarStark merged commit 633222b into symfony:5.x Jan 8, 2021
@@ -33,6 +33,17 @@ The linter results can be exported to JSON using the ``--format`` option:
$ php bin/console lint:yaml translations/ --format=json
$ php bin/console lint:xliff translations/ --format=json

When running the YAML linter inside `GitHub Actions`_, the output is automatically
adapted to the format required by GitHub, but you can force that format too:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would not say "required". It's a nicer output in GitHub, but not required (the normal stdout works fine).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Console][Yaml] Linter: add Github annotations format for errors
4 participants