3

悬赏十几万元以用Rust重写Prettier

 9 months ago
source link: https://www.techug.com/post/offering-a-reward-of-over-100000-yuan-to-rewrite-prettier-with-ruste22e112b2413ae88f12b/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

悬赏十几万元以用Rust重写Prettier

Facebook 法国前端工程师、React Native 和 Prettier 的联合创始人 Vjeux 在 Twitter 发帖,寻求有能力的开发者来使用 Rust 重写前端代码格式化工具 Prettier,并悬赏 1 万美元。

使用 Rust 实现更快、更美观的 printers 引起了广泛关注。但主要问题在于,它们都无法与 prettier 的长尾格式化逻辑相匹配。

如果用 Rust 编写的项目能通过通过 95% 以上的 prettier JavaScript 测试,我将悬赏 1 万美元。

Vercel 的首席执行官 Guillermo Rauch 也跟帖表示,进一步对该悬赏进行加码,将赏金升级到了 2 万美元。

此外,Wasmer 官方也附议了 Vjeux 的这一提议,并表示将额外提供 2500 美元的奖励。“我们喜欢这一倡议!如果项目编译到 WASIX 并(通过 CI)发布到 Wasmer,我们将为项目所有者额外奖励 2500 美元。”

Prettier 是一个 “有主见” 的代码格式化工具。它通过解析你的代码并根据自己的规则 re-printing(将最大行长考虑在内),并在必要时对代码进行封装,从而实现一致的风格。简而言之,这个工具能够使输出代码保持风格一致。

相关链接:https://twitter.com/Vjeux/status/1722733472522142022

本文文字及图片出自 OSC开源社区


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK