Format one minified client file with dprint (ongoing: one file per PR)

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

维护者通常 1 天内回复

@NiftyOps 已经在做这个了。

开始于 2026年11月15日。

  • #4 来自 @soyeonp92 —— 已合并
  • #3617 来自 @NiftyOps —— 未关闭

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
75/100
Issue 类型
重构
描述清晰度
描述清楚
活跃度
活跃

调研方向

阅读 AGENTS.md(code-style-id-software)中的house style,并从 scripts/checks/format-baseline.txt 中选择一个小文件。运行 pnpm exec dprint fmt <path>,添加文件头和函数横幅,然后运行 node scripts/checks/check_formatting.mjs --update 和 pnpm task check:format。完成的标准是:该文件已从台账中移除,检查通过,并且 PR 中写的是 Part of #1,而不是关闭该 issue。

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

描述

area: client enhancement good first issue priority: low

Most JS/TS files predate the formatter. scripts/checks/format-baseline.txt lists the ones still waiting (387 on 2026-11-13).

Task: pick one file from the ledger and bring it to the house style:

  1. pnpm exec dprint fmt <path>
  2. Add the id Software header banner and function banners (see AGENTS.md).
  3. Drop it from the ledger: node scripts/checks/check_formatting.mjs --update
  4. pnpm task check:format must pass.

Small files are a good first pick. One file per pull request, please.

This issue stays open until the ledger is empty. In your PR write Part of #1, not Closes #1 or Fixes #1: those keywords close the issue for everyone else (PR #4 did that, which emptied the good first issue list).

主要语言
Go
星标
97
派生
61
平均合并
4 小时 14 分钟
30 天内合并 PR
913

环境准备

从这里开始

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

opensro-dev/opensro 的其他 Issue

查看 opensro-dev/opensro 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 发到你的邮箱

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