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

栏目: 软件资讯 · 发布时间: 8年前

内容简介:Prettier 是一个“有主见”的代码格式化工具,能够使输出代码保持风格一致。支持列表: JavaScript,包括 ES2017 JSX Flow TypeScript CSS、LESS 和 SCSS JSON GraphQL Prettier 1.6.0 更新亮点: Configurat...

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

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

Prettier 1.6.0 更新亮点:

Configuration

  • Implement cosmiconfig for workspace configuration

  • Support .prettierignore files

JSX

  • Improve JSX Formatting

  • Inline single expressions in JSX

  • Ensure there is a line break after leading JSX white space

完整更新内容

下载地址:


【声明】文章转载自:开源中国社区 [http://www.oschina.net]


以上所述就是小编给大家介绍的《Prettier 1.6.0 发布,前端代码格式化“神器”》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

Clean Architecture

Clean Architecture

Robert C. Martin / Prentice Hall / 2017-9-20 / USD 34.99

Practical Software Architecture Solutions from the Legendary Robert C. Martin (“Uncle Bob”) By applying universal rules of software architecture, you can dramatically improve developer producti......一起来看看 《Clean Architecture》 这本书的介绍吧!

URL 编码/解码
URL 编码/解码

URL 编码/解码

MD5 加密
MD5 加密

MD5 加密工具

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具