prettier/prettier
Fork: 4147 Star: 48425 (更新于 2024-05-17 04:47:08)
license: MIT
Language: JavaScript .
Prettier is an opinionated code formatter.
最后发布版本: 3.2.5 ( 2024-02-04 13:38:35)
Opinionated Code Formatter
JavaScript
· TypeScript
· Flow
· JSX
· JSON
CSS
· SCSS
· Less
HTML
· Vue
· Angular
GraphQL
· Markdown
· YAML
Your favorite language?
Intro
Prettier is an opinionated code formatter. It enforces a consistent style by parsing your code and re-printing it with its own rules that take the maximum line length into account, wrapping code when necessary.
Input
foo(reallyLongArg(), omgSoManyParameters(), IShouldRefactorThis(), isThereSeriouslyAnotherOne());
Output
foo(
reallyLongArg(),
omgSoManyParameters(),
IShouldRefactorThis(),
isThereSeriouslyAnotherOne(),
);
Prettier can be run in your editor on-save, in a pre-commit hook, or in CI environments to ensure your codebase has a consistent style without devs ever having to post a nit-picky comment on a code review ever again!
Badge
Show the world you're using Prettier →
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
Contributing
See CONTRIBUTING.md.
最近版本更新:(数据更新于 2024-05-01 10:25:47)
2024-02-04 13:38:35 3.2.5
2024-01-17 18:25:15 3.2.4
2024-01-17 11:30:50 3.2.3
2024-01-14 11:08:25 3.2.2
2024-01-13 03:17:29 3.2.1
2024-01-13 00:25:18 3.2.0
2023-12-10 16:37:01 3.1.1
2023-12-01 13:36:04 4.0.0-alpha.3
2023-11-13 10:59:16 3.1.0
2023-08-29 20:32:54 3.0.3
主题(topics):
angular, ast, css, flow, formatter, graphql, html, javascript, json, jsx, less, markdown, prettier, printer, scss, typescript, vue, yaml
prettier/prettier同语言 JavaScript最近更新仓库
2024-05-21 04:51:55 SillyTavern/SillyTavern
2024-05-20 12:18:44 layui/layui
2024-05-20 10:44:36 langflow-ai/langflow
2024-05-19 03:39:12 openlayers/openlayers
2024-05-18 19:57:32 vernesong/OpenClash
2024-05-18 12:25:19 zadam/trilium