Prettier 是一个“有主见”的代码格式化工具,能够使输出代码保持风格一致。支持列表:
JavaScript,包括 ES2017
JSX
Flow
TypeScript
CSS、LESS 和 SCSS
JSON
GraphQL
Prettier 1.7.4 是一个小修复版本,更新内容如下:
Force template literals to break after ` for styled-components
Update cosmiconfig to v3.1.0
Respect --stdin-filepath, regardless of config source
软件详情:http://git.oschina.net/mirrors/Prettier
下载地址:https://github.com/prettier/prettier/archive/1.7.4.zip
来自:开源中国社区

