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: improve output formatting when running run custom_lint #101

Open
alestiago opened this issue Mar 1, 2023 · 3 comments
Open

feat: improve output formatting when running run custom_lint #101

alestiago opened this issue Mar 1, 2023 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@alestiago
Copy link

alestiago commented Mar 1, 2023

Description

As a developer I would like the output of custom lint to be beautiful and informative just like dart analyze.

I would like:

  1. Running flutter pub run custom_lint to include a summary documenting the total number of issues found (just like dart analyze)
  2. Running flutter pub run custom lint to show a colourful and well indented output (just like dart analyze).
  3. Running flutter pub run custom lint to show a well formatted time output of the total execution time (just like dart analyze).
Output comparison screenshots

Example dart analyze output

CleanShot 2023-03-01 at 17 53 32@2x

Example flutter pub run custom lint output

CleanShot 2023-03-01 at 17 55 35@2x

@alestiago alestiago added the enhancement New feature or request label Mar 1, 2023
@alestiago alestiago changed the title feat: improve formatting when running run custom_lint feat: improve output formatting when running run custom_lint Mar 1, 2023
@kuhnroyal
Copy link
Contributor

I already added a PR for this, please give it a try.

@yamarkz
Copy link
Contributor

yamarkz commented Mar 19, 2023

@kuhnroyal @rrousselGit

I look forward to your contribution.
Will it be possible to change the output with the --fatal-infos and --no-fatal-infos options of dart analyze?
I want to have good control over execution and errors in CI.

@rrousselGit
Copy link
Collaborator

That's a separate issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants