agiledigital-labs / agiledigital-labs/eslint-plugin-total-functions
New rule: suspicious fp-ts either usage
Offen
fp-ts
- Vorherrschende Sprache
- TypeScript
- Sterne
- 92
- Forks
- 5
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.