Report a config enum that no source file defines
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
- 77/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
- Lĩnh vực
- tooling
Hướng nghiên cứu
Read bin/validate-config.js, src/scan.js, and the existing CLI tests in test/cli.test.js. Start by tracing how --check supplies a source directory and how source enums are scanned. Add coverage for the unknown-enum error, its nearest match, and the no-path case; done when the provided verification command succeeds and the tests cover both behaviors.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Context
A stale allocation is easy to leave behind after a rename. The config still reserves a block, and the validator says nothing.
Scope
bin/validate-config.jssrc/scan.jstest/cli.test.js
Acceptance criteria
- A new
unknown-enumerror names the config key and the nearest matching source enum, if any. - The check only runs when a source directory is supplied.
- A config with no
--checkpath is unaffected.
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