Repository navigation
v0.50.0
Minor Changes
-
#450
3994aafThanks @mattiamanzati! - Add new diagnostic to detect nested function calls that can be converted to pipeable styleThe new
missedPipeableOpportunitydiagnostic identifies nested function calls that would be more readable when converted to Effect's pipeable style. For example:// Detected pattern: toString(double(addOne(5))); // Can be converted to: addOne(5).pipe(double, toString);
This diagnostic helps maintain consistent code style and improves readability by suggesting the more idiomatic pipeable approach when multiple functions are chained together.