Skip to content

Publish internal documentation for hh_client --lint errors, change links in error messages #1078

Open
@fredemmott

Description

@fredemmott

For example, hh_client --lint src/__Private/LintRunCLIEventHandler.hack in HHAST (with a nightly build of hh_client) gets:

Lint[5583] Do not use await in a loop. It almost always incurs non-obvious serial fetching that is easy to miss. See https://fburl.com/awaitinloop for more information. [1]

__Private/LintRunCLIEventHandler.hack:100:7
     98 |
     99 |       /* HHAST_IGNORE_ERROR[DontAwaitInALoop] */
[1] 100 |       await $this->renderLintBlameAsync($error);
    101 |       $result = LintAutoFixResult::SOME_UNFIXED;
    102 |     }

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions