agiledigital-labs / agiledigital-labs/eslint-plugin-total-functions

New rule: suspicious fp-ts either usage

未关闭
#737 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
fp-ts
主要语言
TypeScript
星标
92
派生
5
PR 合并指标
30 天内没有已合并 PR

描述

1. If the left and right type are the same, it suggests the either is being used as a union and should be replaced with a simple union `a | b`.
2. If the left type is an effect, it suggests something odd has happened. The left should be a simple value, not an effect.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。