facebook / facebook/flow

Explanation of the "flow --json" output

Ouverte
#1,072 2 commentaires 1 réaction 0 personnes assignées Voir sur GitHub
Needs docs question
Langage dominant
Rust
Étoiles
22.3k
Forks
1.9k
Métriques de merge des PR
Aucune PR mergée en 30 j

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.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.