YAML error messages in the presence of parse errors are poor

オープン
#385 コメント 0 件 リアクション 0 件 担当者 1 名 GitHub で見る

@cscheid がすでに取り組んでいます。

2022年3月5日 から。

評価

この issue はまだ評価されていません。

説明

enhancement lint yaml-validation

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

主要言語
JavaScript
スター
6k
フォーク
458
平均マージ
1日 9時間
マージ済み PR(30日)
41

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

quarto-dev/quarto-cli のほかの issue

quarto-dev/quarto-cli の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。