facebook / facebook/flow

Explanation of the "flow --json" output

Open
#1,072 2 comments 1 reaction 0 assignees View on GitHub
Needs docs question
Dominant language
Rust
Stars
22.3k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

I'd like to know what the output of the `flow --json` command means.
Like
- why there's a certain number of **"message"**s
- why do some of them have a line number equal to 0 (e.g. `{"descr": ..., "level": "error", "path": "", "line": 0, "endline": 0, "start": 1, "end": 0}`)
- what exactly does **"kind"** mean (I've only seen `"kind": "infer"` so far and do not know what other kinds there are)

Is there any place I could learn that?

`flow --json --help` does not produce any meaningful information.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.