facebook / facebook/flow

Explanation of the "flow --json" output

Offen
#1,072 2 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
Needs docs question
Vorherrschende Sprache
Rust
Sterne
22.3k
Forks
1.9k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.