No React/Vue satisfiedBy guidance for the 58 frontend laws

Đang mở
#12 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

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
56/100
Loại issue
Tài liệu
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
react, typescript
Lĩnh vực
developer-experience

Hướng nghiên cứu

Start by locating the 58 frontend laws and reading the detector for one law you know from React or Vue; the issue does not name specific files. Write guidance only for behavior the detector actually accepts, and verify it against a real project. Done means the entry accurately explains how to satisfy the check, or records that the concern has no equivalent in detectionLimits.

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

Mô tả

enhancement help wanted

The 58 laws with stack: "frontend" run on any frontend project — Angular, React, Vue,
Ionic. Their satisfiedBy guidance is written only for Angular (satisfiedBy.angular,
67 laws). A React or Vue team is told the law applies to them and then handed OnPush,
standalone components and NgRx.

This is a gap in what we have authored, not a bug in the data. See #11 for why renaming
the key would be the wrong fix.

What "done" looks like

For each frontend law, a satisfiedBy.react / satisfiedBy.vue entry written the way
the Angular ones were: after reading the detector, describing what actually makes the
check pass in that framework. Not a paraphrase of the Angular text with the nouns
swapped.

Two things to hold to:

  • Never invent. A plausible-sounding instruction that does not actually satisfy the
    detector is worse than an absent one — it sends people to change code for nothing.
  • Where a law's concern has no React/Vue equivalent, say so explicitly rather than
    inventing an analogue. Some of these 58 will legitimately have nothing to say outside
    Angular, and that belongs in detectionLimits.

Good first contribution for someone who works in React or Vue daily: pick one law, read
its detector, write the entry, prove it against a real project.

Ngôn ngữ chính
TypeScript
Star
0
Fork
0
Merge trung bình
38 phút
Pull request đã merge (30 ngày)
96

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 Rule-Of-Code/RoC

Tất cả issue của Rule-Of-Code/RoC

Issue tương tự

Thêm issue về TypeScript

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.