eslint-plugin-total-functions icon indicating copy to clipboard operation
eslint-plugin-total-functions copied to clipboard

New rule: suspicious fp-ts either usage

Open danielnixon opened this issue 1 year ago • 0 comments

  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.

danielnixon avatar Mar 15 '23 02:03 danielnixon