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

feat: produce new human-readable output group #331

Merged
merged 16 commits into from
Jul 17, 2024
Merged

feat: produce new human-readable output group #331

merged 16 commits into from
Jul 17, 2024

Conversation

alexeagle
Copy link
Member

@alexeagle alexeagle commented Jul 16, 2024

There are now two output_groups that users or wrapper tools can request: rules_lint_human and rules_lint_machine.
Every linter is updated to produce outputs for both groups. The "human" output group uses nicer formats.

Change lint.sh to present this output rather than the 'report' output which is machine-readable.
We can make a corresponding change in Aspect CLI.

The rules_lint_report output group is retained to make this non-breaking.

Fixes #324

Configure linters to be colored and produce prettier output for this new output.
Change lint.sh to present this output rather than the 'report' output which is machine-readable

Fixes #324
@alexeagle alexeagle changed the title feat: produce new rules_lint_output group for human-readable feat: produce new human-readable output group: rules_lint_stdout Jul 16, 2024
@alexeagle alexeagle marked this pull request as ready for review July 16, 2024 22:38
lint/vale.bzl Outdated Show resolved Hide resolved
@alexeagle alexeagle changed the title feat: produce new human-readable output group: rules_lint_stdout feat: produce new human-readable output group Jul 17, 2024
lint/vale.bzl Outdated Show resolved Hide resolved
lint/shellcheck.bzl Outdated Show resolved Hide resolved
lint/ruff.bzl Outdated Show resolved Hide resolved
lint/pmd.bzl Outdated Show resolved Hide resolved
lint/ktlint.bzl Outdated Show resolved Hide resolved
lint/flake8.bzl Outdated Show resolved Hide resolved
lint/eslint.bzl Outdated Show resolved Hide resolved
lint/clang_tidy.bzl Outdated Show resolved Hide resolved
lint/buf.bzl Outdated Show resolved Hide resolved
example/lint.sh Outdated Show resolved Hide resolved
Copy link
Member

@gregmagolan gregmagolan left a comment

Choose a reason for hiding this comment

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

:shipit:

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.

[Bug]: show "stylish" output
2 participants