皇上,还记得我吗?我就是1999年那个Linux伊甸园啊-----24小时滚动更新开源资讯,全年无休!

Prettier 1.16.4 发布,前端代码格式化“神器”

Prettier 是一个“有主见”的代码格式化工具,能够使输出代码保持风格一致。支持列表:

本次更新内容如下:

  • API: Fix prettier.getSupportInfo() reporting babel parser for older versions of Prettier. (#5826 by @azz)

    In version 1.16.0 of Prettier, the babylon parser was renamed to babel. Unfortunately this lead to a minor breaking change: prettier.getSupportInfo('1.15.0') would report that it supported babel, not babylon, which breaks text-editor integrations. This has now been fixed.

更新日志

转自 https://www.oschina.net/news/104192/prettier-1-16-4-released

分享到:更多 ()