mobily / ts-belt

🔧 Fast, modern, and practical utility library for FP in TypeScript.
https://mobily.github.io/ts-belt
MIT License
1.08k stars 30 forks source link

snippets, and linter #115

Open JUSTIVE opened 5 months ago

JUSTIVE commented 5 months ago

Though not directly related to the project at hand, I want to take a moment to share my team's experience with utilizing ts-belt and ts-pattern snippets. I apologize if this announcement seems out of place; unfortunately, there doesn't seem to be a more appropriate forum for this message. We've been leveraging a VSCode extension named Boro-belt, named after the company I'm currently in. You can find it on the VSCode Extension Marketplace. Boro-belt integrates seamlessly with ts-belt, as below.

https://github.com/mobily/ts-belt/assets/7118300/3a9b0ed3-5634-4dbc-8382-0c8506c90e6f

While it doesn't encompass every function of ts-belt just yet, we're committed to expanding its capabilities. supported functions are listed on README

Additionally, I've developed an ESLint plugin as part of another project, available here, which aims to optimize usage by highlighting unnecessary function calls within pipes—these are essentially pure runtime overhead in some scenarios. This lint rule has been instrumental in refining our code efficiency in performance also readability.

스크린샷 2024-03-22 오후 1 25 19

feedbacks and PRs are welcome!