facebook / facebook/flow

Explanation of the "flow --json" output

Abierto
#1,072 2 comentarios 1 reacción 0 asignados Ver en GitHub
Needs docs question
Lenguaje dominante
Rust
Estrellas
22.3k
Forks
1.9k
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.