quarto-dev / quarto-dev/quarto-cli
YAML error messages in the presence of parse errors are poor
Aperta
@cscheid ci sta già lavorando.
Dal 5/3/2022.
enhancement
lint
yaml-validation
- Lingua principale
- JavaScript
- Stelle
- 6k
- Fork
- 458
- Merge medio
- 1g 9h
- PR unite (30g)
- 41
Descrizione
Consider this:
---
name:"mello"
title: "hello"
---
The YAML parsing fails, and hence we can't give the error message we would if instead we had
---
name:"mello"
---
I'm not sure how to fix this in general outside of writing a better YAML parser, and I really don't want to do that. We have a linting pass, and we could search for colons that don't have a space after them. But that might yield false positives, which are similarly annoying
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Valutazione
Questa issue non è ancora stata valutata.