YAML error messages in the presence of parse errors are poor
@cscheid 已经在做这个了。
开始于 2022年3月5日。
评估
这个 Issue 还没有评估数据。
描述
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 小时
- 30 天内合并 PR
- 41
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
quarto-dev/quarto-cli 的其他 Issue
-
binder bug
难度 1/5 1 小时以内 新手友好度 92/100
quarto-dev/quarto-cli#14907 · 3 条评论 ·
-
brand bug
难度 2/5 1-3 小时 新手友好度 68/100
quarto-dev/quarto-cli#14891 ·
-
brand bug html revealjs
难度 2/5 1-3 小时 新手友好度 84/100
quarto-dev/quarto-cli#14882 ·
-
bug
难度 2/5 1-3 小时 新手友好度 85/100
quarto-dev/quarto-cli#14875 ·
-
Percent scripts: accept raw-string (r""") and '''-delimited markdown cells, as jupytext writes them 未关闭engines-jupyter enhancement
难度 2/5 1-3 小时 新手友好度 84/100
quarto-dev/quarto-cli#14850 · 2 条评论 ·
查看 quarto-dev/quarto-cli 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 76/100
avniproject/avni-client#2135 ·
-
enhancement
难度 2/5 1-3 小时 新手友好度 70/100
babalae/bettergi-scripts-list#3674 ·
-
A-Release-Notes C-Editing D-Modest S-Ready-For-Implementation
难度 2/5 1-3 小时 新手友好度 72/100
bevyengine/bevy-website#2595 ·
-
ecosystem wording
难度 1/5 1 小时以内 新手友好度 90/100
matrix-org/matrix.org#3649 ·
-
难度 2/5 1-3 小时 新手友好度 88/100
vadimdemedes/ink#1029 ·