facebook / facebook/flow

Explanation of the "flow --json" output

Aperta
#1,072 2 commenti 1 reazione 0 assegnatari Vedi su GitHub
Needs docs question
Lingua principale
Rust
Stelle
22.3k
Fork
1.9k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.