Skip to content

cli: report metadata #116

@bartveneman

Description

@bartveneman

For linting I want to know:

  • how many input JSON files were found
  • how many source css files were discovered
  • how much CSS in total was found (lines + kB)
  • how many violations were found
  • how long it took

Oxlint also reports metadata at the end; we print it at the very start. The end makes more sense since that's where terminals scroll to.

Example from oxlint:

Found 6 warnings and 0 errors.
Finished in 266ms on 260 files with 198 rules using 8 threads.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions