Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Wire @shadcn/lint into the consumer lint pipeline (template ships the dep and DESIGN.md claims enforcement, nothing runs it)

Đang mở
#595 0 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ó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
eslint, typescript
Lĩnh vực
tooling

Hướng nghiên cứu

Read the child template's lint script and devDependencies, its DESIGN.md, and the @shadcn/lint implementation of shadcn/no-restyle. Compare the current Biome-only pipeline with the three proposed approaches, then decide how the framework should keep enforcement and documentation aligned. Done means the chosen approach is implemented consistently for generated children and the DESIGN.md claim matches what the lint pipeline runs.

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

Mô tả

What happened

The child template ships @shadcn/lint in devDependencies, and the child's DESIGN.md states: "@shadcn/lint's no-restyle enforces this" for design-system usage. Nothing runs it: the only lint script is biome check .. The design-system rule the docs present as enforced is a documentation claim.

Why the gap

@shadcn/lint is a programmable agent-first linting plugin — an ESLint augmentation (shadcn/no-restyle), with no bin. Consumers whose pipeline is Biome-only never execute it.

Options

  1. Ship an optional ESLint pass in the consumer lint pipeline that computes shadcn/no-restyle over ui/src (and document it in DESIGN.md accordingly).
  2. Port no-restyle's mechanical checks into the Biome config (if feasible) — keeping a single linter.
  3. Soften the docs: DESIGN.md states the rule as review-time convention in CODING_STANDARDS.md instead of claiming tool enforcement.

Decide in the framework so docs and enforcement never diverge per-child again.

Reference: citynode.app ui/DESIGN.md vs pnpm run lint (biome only).

Ngôn ngữ chính
TypeScript
Star
5
Fork
3
Merge trung bình
9 giờ 50 phút
Pull request đã merge (30 ngày)
146

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 NEARBuilders/everything-dev

Tất cả issue của NEARBuilders/everything-dev

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.