Skip to content

Feature request: Improve usability of standalone diagnosis report #2830

Closed
@kaklakariada

Description

@kaklakariada

Thanks a lot for LuaLS, this is a really great project!

We are running LuaLS during the CI build to check type annotations using the --check command line option.

I would like to propose two usability improvements for the --check mode:

Exit code

The program should exit with a status code other than 0 when it finds problems.

  • Currently it always exits with status 0 even if it finds problems. This would simplify checking build success or failure.

Log problems

The program should log each problem to stdout or stderr

  • Currently users need to download check.json which is hard to read
  • When the program logs problems, users could immediately see problems without downloading a file

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