We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ts-lib-scripts 目前采用 eslint + prettier 处理代码格式化的,对于大型代码库来说,速度很慢,严重影响开发体验,体现在:
社区出现一些基于 wasm 的更快速的代码格式化方案,如:
根据社区的测试,dprint 性能是 prettier 的 5 倍,deno fmt 性能是 prettier 的 17 倍。(其中 deno fmt 内部采用了dprint,二者之间的内部差距可能是采用 wasm 的方式不同导致)。内部需要做性能测试,验证性能提升幅度,和对开发体验的提升。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
ts-lib-scripts 目前采用 eslint + prettier 处理代码格式化的,对于大型代码库来说,速度很慢,严重影响开发体验,体现在:
社区出现一些基于 wasm 的更快速的代码格式化方案,如:
根据社区的测试,dprint 性能是 prettier 的 5 倍,deno fmt 性能是 prettier 的 17 倍。(其中 deno fmt 内部采用了dprint,二者之间的内部差距可能是采用 wasm 的方式不同导致)。内部需要做性能测试,验证性能提升幅度,和对开发体验的提升。
The text was updated successfully, but these errors were encountered: