Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Converge the awk and mjs YAML grammars before setup-apply uses yaml-subset.mjs - part 1 of 4

未关闭 适合新手
#10,128 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
68/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
javascript, yaml
领域
tooling

调研方向

先查看 lib/yaml-subset.mjs 和 lib/yaml-subset.test.mjs,然后比较父 issue #8677 中引用的 awk 和 MJS YAML 语法。为包含「: 」的不带引号的值,以及包含空格、「$」或「.」的不带引号的键补充测试,同时确认带引号的键仍能正确解析。完成标准是:MJS 解析器通过带行号的错误拒绝这些不带引号的形式,并且测试覆盖每种情况。

由索引模型根据 Issue 内容生成。

描述

admission-deferred priority: medium status: ready work-class: scoped

Part 1 of 4 of #8677, split at intake (owner Q93). The done-when below is copied from #8677 and intake's refinement comment on it as written.

Done when

  • lib/yaml-subset.mjs refuses a plain value holding ': ' (e.g. 'pre_confirmed_label: needs: triage') with a line-numbered error, and lib/yaml-subset.test.mjs covers it
  • lib/yaml-subset.mjs refuses a plain key holding a space, '$' or '.' (a b: c, $schema: x, a.b: c), while quoted keys still parse, with tests
主要语言
Shell
星标
22
派生
2
平均合并
2 小时 45 分钟
30 天内合并 PR
940

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

melodic-software/claude-code-plugins 的其他 Issue

查看 melodic-software/claude-code-plugins 的全部 Issue

相似的 Issue

更多 Shell/Bash Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。