Prettier

网站信息
站名Prettier
网址prettier.io
地区国外
语言英语
收录2026-11-10
网站简介

Prettier is an opinionated code formatter that supports JavaScript, TypeScript, JSX, CSS, SCSS, Less, HTML, JSON, Markdown, YAML, GraphQL and a growing list of languages through plugins. Instead of tweaking dozens of style rules, a team installs it once and lets it parse source files into an abstract syntax tree and reprint them in a single canonical layout.

The official site documents installation, the command line interface, configuration through .prettierrc and .prettierignore, editor integrations for VS Code, JetBrains and Vim, pre-commit hooks, and the playground where you can paste code and immediately see how each option changes the output. A rationale page explains why the option set is deliberately small.

It suits frontend and backend teams that want consistent diffs in pull requests, open-source maintainers who receive patches from many contributors, educators teaching a uniform style, and continuous integration pipelines that need a fast, deterministic check before code is merged.

Compared with configurable linters it focuses purely on layout rather than code quality, so the two are commonly used together; compared with editor-native formatters it behaves identically on every machine and in every CI job, though its fixed choices can be frustrating for teams with strong house conventions.

Add a format script and a pre-commit hook early so formatting happens before review, commit the configuration file so every contributor shares it, and run Prettier once across the whole repository in a dedicated commit to avoid mixing formatting noise with functional changes.

相关查询
收录 - 百度 - 搜狗 - 360 - 必应 - 谷歌
搜索 - 百度 - 搜狗 - 360 - 必应 - 谷歌
最新收录
中原网
舜网
三亚市人民政府
昆明市人民政府
保定市人民政府
大同市人民政府
广西师范大学
新疆农业大学
Redux
实用网站
飞翔下载
多多软件站
开心电玩
酷站导航
篱笆好文学
‌中国扫黄打非网‌
Convertio
东莞市冠骄机械有限公司
UC网址导航
随机推荐
中国证券投资基金业协会
QQ阅读女生网
重庆大学
51LA
义乌购
二叔导航
贵州网络广播电视台
波司登
江西江南新材料科技股份有限公司
特别提示
本网页并非Prettier官网,页面内容是由酷站导航编录于互联网,只作展示之用;酷站导航与Prettier无任何关系;如果有与之相关业务事宜,请访问Prettier网站获取联系方式。
本页地址
https://m.torv.cn/1815.html

407106872@qq.com

Copyright © 2026 Torv.cn All Rights Reserved.