Enable typed linting (typescript-eslint recommendedTypeChecked)
Maintainer thường phản hồi trong vòng 2 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 43/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
Hướng nghiên cứu
Start by reviewing the ESLint configuration and the TypeScript project configuration, especially coverage for e2e/** and drizzle.config.ts; the issue does not name their paths. Then measure the findings for the proposed rules and split the rollout into the listed steps. Done means an agreed rule set is enabled with project service configured for .ts files and the required paths covered.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Follow-up from #344. Running with recommendedTypeChecked produced about 1,000 findings, too many for one change.
Measured on main (2026-10-26), after removing noise from the trial config:
| Rule | Findings |
|---|---|
no-unsafe-member-access / -assignment / -call / -return / -argument |
~580 |
require-await |
174 |
no-unnecessary-type-assertion |
113 |
only-throw-error |
98 (nearly all SvelteKit throw redirect() / error(), fixed by its allow option) |
unbound-method |
51 |
no-floating-promises |
30 |
await-thenable |
19 |
no-misused-promises |
17 |
no-base-to-string |
9 |
Prerequisites:
- parserOptions.projectService for .ts files, not only Svelte files.
- A tsconfig that covers e2e/** and drizzle.config.ts. Today the project service can't find them.
- Lint time goes from about 36 s to about 55 s.
Proposed rollout, one PR per step:
- Turn on the rules that catch real bugs: no-floating-promises, no-misused-promises, await-thenable, and only-throw-error with a SvelteKit allow entry.
- no-unnecessary-type-assertion and require-await (mostly autofixable or mechanical).
- Decide whether to adopt the no-unsafe-* family at all, and how much of it, given how many hits come from untyped JSON and test code.
- Ngôn ngữ chính
- TypeScript
- Star
- 1
- Fork
- 0
- Merge trung bình
- 4 ngày 15 giờ
- Pull request đã merge (30 ngày)
- 22
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
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 stackabletech/cockpit
-
Uploads greater then 6MiB failĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
stackabletech/cockpit#385 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
stackabletech/cockpit#417 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
HDFS StorageĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
stackabletech/cockpit#406 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
stackabletech/cockpit#403 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 56/100
stackabletech/cockpit#402 ·
Maintainer thường phản hồi trong vòng 2 ngày
Tất cả issue của stackabletech/cockpit
Issue tương tự
-
Parallel reticle_verify opens per-flow leases without the source lease's ignoreHTTPSErrorsCó thể đã có người làm @as992949791 đã nhận hôm nay. Đang mởgood first issue help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
reticlehq/reticle#2033 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area:quality p3-medium ready-for-agent type:docs
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
fderuiter/deruiter.dev#3589 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
manfredsteyer/angular-oauth2-oidc#1514 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
marmelab/react-admin#11431 ·
Maintainer thường phản hồi trong vòng 1 ngày