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

Đang mở Phù hợp với người mới
#1 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@NiftyOps đang làm issue này rồi.

Từ ngày 15/11/2026.

  • #4 của @soyeonp92 — đã merge
  • #3617 của @NiftyOps — đang mở

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
75/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
javascript, typescript
Lĩnh vực
developer-experience

Hướng nghiên cứu

Đọc quy chuẩn trình bày của dự án trong AGENTS.md (code-style-id-software) và chọn một tệp nhỏ có trong scripts/checks/format-baseline.txt. Chạy pnpm exec dprint fmt <path>, thêm phần đầu tệp và các banner cho hàm, sau đó chạy node scripts/checks/check_formatting.mjs --update và pnpm task check:format. Hoàn thành khi tệp không còn trong ledger, kiểm tra đạt, và PR ghi Part of #1 thay vì đóng issue.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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).

Ngôn ngữ chính
Go
Star
97
Fork
61
Merge trung bình
4 giờ 14 phút
Pull request đã merge (30 ngày)
913

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của opensro-dev/opensro

Tất cả issue của opensro-dev/opensro

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.