首页 > 其他 > 详细

prettier

时间:2019-11-19 16:19:45      阅读:93      评论:0      收藏:0      [点我收藏+]
 prettier,是一个自以为是 Opinionated 的代码格式化工具,用来批量处理旧代码的统一。
涉及引号,分号,换行,缩进。
prettier 支持我们大前端目前大部分语言处理,包括 JavaScript,Flow,TypeScript,CSS,SCSS,Less,JSX,Vue,GraphQL,JSON,Markdown,这代表着,你几乎可以用一个工具都能搞定所有的代码格式化问题。

 

[配置文档](https://prettier.io/docs/en/configuration.html)
[演示](https://prettier.io/playground/)
[集成 hook](https://prettier.io/docs/en/precommit.html)
[集成 lint](https://prettier.io/docs/en/integrating-with-linters.html)

prettier

原文:https://www.cnblogs.com/camille666/p/prettier.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!