@longzai-intelligence-oxlint/plugin-typescript-eslint
v0.0.45
Published
Oxlint TypeScript ESLint 兼容插件,提供 typescript-eslint 规则的 Oxlint 实现
Readme
@longzai-intelligence-oxlint/plugin-typescript-eslint
意图
在 Oxlint 运行时复刻 typescript-eslint 生态的关键规则,弥补 Oxlint 原生规则覆盖不足的部分。
定位
Oxlint 生态的 typescript-eslint 规则实现插件,对标 ESLint 生态 typescript-eslint 插件,通过 eslintCompatPlugin 包装以同时兼容 Oxlint 与 ESLint 运行时。
职能
提供 consistent-type-assertions 规则,约束类型断言风格的一致性;使用 defineRule + createOnce 实现以获得最佳性能;同时导出断言风格类型与选项类型供外部复用。
实现情况
当前仅落地类型断言一致性一条规则,规则、类型与插件对象均已导出;整体处于聚焦单点的成熟形态,其余 typescript-eslint 规则尚未纳入。
