Report a source enum that has no allocated block
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- Nửa ngày
- Mức phù hợp với người mới
- 78/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- javascript, node.js
Hướng nghiên cứu
Start with src/scan.js and bin/validate-config.js, then review test/cli.test.js for existing validation errors and run the verification command from the issue. Add coverage for an enum with no allocated block, including the documented ignore comment and the link to --init; it is done when the error reports the source file, line and enum, ignored enums are exempt, and the CLI tests pass.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Context
The inverse of a stale allocation: a new contract adds an enum, but nobody updates the config. Every code it defines is unallocated, and CI still passes.
Scope
bin/validate-config.jssrc/scan.jstest/cli.test.js
Acceptance criteria
- A new
missing-blockerror names the source file, line and enum. - Enums marked with a documented ignore comment are exempt.
- The finding links to the
--initcommand.
Verification
node bin/validate-config.js codepact.config.json --check contracts/
Complexity
Medium (4 hours)
Part of Stellar Wave. Comment to claim this issue before starting.
- Ngôn ngữ chính
- JavaScript
- Star
- 0
- Fork
- 1
- Merge trung bình
- 14 giờ 38 phút
- Pull request đã merge (30 ngày)
- 9
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của codepacct/codepact-conventions
-
enhancement good first issue wave
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
codepacct/codepact-conventions#55 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement wave
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
codepacct/codepact-conventions#54 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation good first issue wave
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
codepacct/codepact-conventions#53 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue tests wave
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
codepacct/codepact-conventions#52 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue tests wave
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 86/100
codepacct/codepact-conventions#51 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của codepacct/codepact-conventions
Issue tương tự
-
bug security
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
IbrahimHafez1/loadwise#251 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 87/100
erkamyaman/unslop-anything#421 ·
Maintainer thường phản hồi trong vòng 1 ngày