agiledigital-labs / agiledigital-labs/eslint-plugin-total-functions
New rule: suspicious fp-ts either usage
Open
fp-ts
- Dominant language
- TypeScript
- Stars
- 92
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.