跳到正文

正在自动登录…

← 返回项目列表

yielded-dev/effect-tsrs

代码诊断代码检查

为 Effect 语言提供 Rust 实现的诊断工具,包含全部 130 条诊断规则,支持 Effect V4 和 V3,并可作为命令行工具或 Oxlint 插件使用。

AI 中文解读 · 根据仓库描述与 README 生成 · 2026/10/25 09:56:06 · 查看原文

值得看TypeScript应用与服务兼有 开发工具
累计 Stars
50
当前热度
1 天内 · 小火
仓库创建时间
打开 GitHub ↗

选用指南

AI 根据 README 整理 · 2026/10/25 09:56:06

使用方式

通过命令行运行诊断,或作为 Oxlint 插件使用。

查看 README 依据
Then check your project: ```sh npx effect-tsrs diagnostics --project tsconfig.json ``` Or run it without adding a dependency: ```sh npx @yielded/effect-tsrs diagnostics --project tsconfig.json ``` Requires **Node.js 22.14 or newer**. Prebuilt binaries are available for macOS (Apple Silicon and Intel), Linux (ARM64 and x64), and Windows (x64). The compiler and TypeScript standard libraries are included; no Rust toolchain is needed. Keep npm optional dependencies enabled so the binary for your platform is installed.
Existing `@effect/language-service` plugin options in `tsconfig.json` are respected. See [Plugin Options](#plugin-options) to configure diagnostics. ## Oxlint integration Install a supported Oxlint pair, then run it through the Rust adapter: ```sh npm install --save-dev oxlint@1.89.0 oxlint-tsgolint@7.0.2005 npx effect-tsrs oxlint . ``` Enable Effect rules in `.oxlintrc.json`. The `effecttsgo` namespace is retained for compatibility with existing configurations: ```json { "$schema": "./node_modules/@yielded/effect-tsrs/oxlint-schema.json", "plugins": ["effecttsgo", "typescript"],
部署要求

需要 Node.js 22.14 或更高版本,并提供适用于 macOS、Linux 和 Windows 的预编译二进制文件。

查看 README 依据
Then check your project: ```sh npx effect-tsrs diagnostics --project tsconfig.json ``` Or run it without adding a dependency: ```sh npx @yielded/effect-tsrs diagnostics --project tsconfig.json ``` Requires **Node.js 22.14 or newer**. Prebuilt binaries are available for macOS (Apple Silicon and Intel), Linux (ARM64 and x64), and Windows (x64). The compiler and TypeScript standard libraries are included; no Rust toolchain is needed. Keep npm optional dependencies enabled so the binary for your platform is installed.
已知限制

未移植 Effect 代码操作(快速修复和建议编辑)以及逐规则分析功能。

查看 README 依据
severities. Effect code actions (quick fixes and suggested edits) and per-rule profiling are not ported. `--threads N` limits the compiler workers as well as Oxlint's frontend. Under an explicit limit the Rust and Go backend passes run sequentially; `--threads 1` also disables parallel parsing and checking. Without a limit, tsrs chooses its checker count and the backends can run concurrently. The standalone diagnostics command accepts `--singleThreaded` for single-threaded comparisons. Presets are available as `@yielded/effect-tsrs/oxlint-presets` for JS/TS configs,

README

正在加载 README…

收录信息

仓库创建时间
2026/10/24 12:48:45
首次达标收录
2026/10/25 09:51:02
统计更新时间
2026/10/25 11:21:13

按创建时长与累计 Stars 判断等级。首次达标收录后,即使未达当前门槛仍保留;累计 Stars 和仓库状态会定期更新。确认只有 README 及辅助文件的仓库会停止公开。

模型评估

值得看加权总分 4.0 / 5

新颖度
3.5
实用价值
4.4
成熟度
4.8
实质含量
3.6

由 Jev 模型根据仓库描述与 README 评估,2026/10/25 09:51:02 生成。评分仅供参考,不是代码、安全或许可证审查;热度等级另按创建时长与累计 Stars 计算。

仓库信息

最近推送
2026/10/25 04:10:07
许可证标识
MIT
Fork 数
1
当前状态
未归档

收录记录

按创建时长与累计 Stars 首次收录:小火
首次发现项目