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 類型
重構
描述清晰度
描述清楚
活躍度
活躍
技術堆疊
javascript, typescript

研究方向

閱讀 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 摘要。