prettier
[pull] main from prettier:main
#1811
Merged
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Overview
Commits
1231
Changes
View On
GitHub
[pull] main from prettier:main
#1811
pull
merged 1231 commits into
fisker:main
from
prettier:main
Refactor method value print (#14190)
22d66b89
Treat `--trailing-comma=es5` as `all` when printing tuple types (#14086)
58ae337f
Update dependency angular-estree-parser to v5.0.2 (#14216)
6bcab73c
Import `fs/promises` directly in test files (#14235)
2ed898df
Minor refactors for `printer-graphql.js` (#14233)
f65700ff
Rewrite `TypeAnnotation` and `TSTypeAnnotation` print (#14171)
627c9a7f
Update flow-parser to v0.198 (#14182)
1dafaa03
Merge branch 'main' into next
549a59dd
Fix snapshots
1054e56f
Linting
fe4eee63
chore(deps): update dependency @angular/compiler to v15.1.2 (#14246)
4b274ad3
chore(deps): update dependency esbuild to v0.17.5 (#14249)
dcfc48fa
chore(deps): update dependency acorn to v8.8.2 (#14248)
c6f68186
chore(deps): update dependency @babel/generator to v7.20.14 (#14247)
f950909d
chore(deps): update dependency jest-watch-typeahead to v2.2.2 (#14250)
6bf6aa08
chore(deps): update dependency jest to v29.4.1 (#14253)
1e4141f5
chore(deps): update dependency eslint to v8.33.0 (#14252)
01108c8d
chore(deps): update typescript-eslint to v5.49.0 (#14254)
efd9d323
chore(deps): update dependency @esbuild-plugins/node-modules-polyfill…
8204fa0b
Update dependency eslint-plugin-react to v7.32.2 (#14181)
d65a88af
Resolves config by default in `getFileInfo()` (#14108)
a26e8ace
Skip parsing inline JavaScript code in Less (#14109)
e01f86aa
Update dependency angular-html-parser to v4 (#14135)
24b24a92
Remove printing `modifiers` of `TSModuleDeclaration` (#14266)
cf421a9e
Remove dead code for `TSInterfaceDeclaration` (#14267)
a7d83590
Remove printing `modifiers` of `TSEnumDeclaration` (#14265)
3cec4600
Update `angular-estree-parser` to v6 (#14263)
6d7cdbaf
Add `printTypeScriptAccessibilityToken` (#14273)
20e89154
Forbid `initializer` of `TSPropertySignature` (#14264)
6eb9359b
Test: auto test `babel-flow` parser (#14245)
3cb08c87
Forbid test `babel` parser in `typescript/` (#14281)
30178768
Run JSX tests on `acorn`, `espree` and `meriyah` (#10494)
97c8e3c1
Reduce size of meriyah parser (#14278)
bd402ab6
Stop checking invalid properties (#14274)
39dadc9f
chore(deps): update yarn to v3.4.1 (#14301)
68a1512a
chore(deps): update dependency pretty-bytes to v6.1.0 (#14299)
4486cef7
chore(deps): update dependency @angular/compiler to v15.1.3 (#14294)
dbce2139
chore(deps): update dependency cspell to v6.21.0 (#14297)
9413a01b
chore(deps): update typescript-eslint to v5.50.0 (#14300)
28ac90e1
chore(deps): update dependency typescript to v4.9.5 (#14296)
0e20c839
chore(deps): update dependency @babel/parser to v7.20.15 (#14295)
e0367179
Refactor `printDanglingComments` (#14288)
29a7b3ed
Fix `hasMultipleHeritage` logic (#14289)
ac91baff
TypeScript: Forbid invalid tuple label (#14256)
5d438037
Avoid unnecessary `print()` in `printStatementSequence` (#14255)
bad0906a
Use `printStatementSequence` to print babel directives (#14257)
d94c813f
Update dependency eslint-plugin-compat to v4.1.0 (#14305)
0254078a
Update dependency cspell to v6.22.0 (#14304)
8c1915f6
chore(deps): update dependency flow-parser to v0.199.1 (#14298)
4d80f5cf
Rename `isJsxNode` as `isJsxElement` (#14306)
07030901
Merge branch 'main' into next
b1ef30dd
`yarn dedupe`
aa0c23f8
Add `printAbstractToken` (#14308)
474b8dd0
Treat hashbang as comment in babel parser(like other parsers) (#14302)
be84156d
Flow: Print trailing comma in type parameters when `--trailing-comma=…
62827ab4
Simplify `getNextNonSpaceNonCommentCharacter` (#14318)
c05723e7
Replace `getNextNonSpaceNonCommentCharacterIndex` with `getNextNonSpa…
b96dc57c
Add `getNextNonSpaceNonCommentCharacter` to `prettier.util` (#14317)
caf6f6c6
Update `prettier.util.{isPreviousLineEmpty,isNextLineEmpty}` (#14320)
e9ae01a6
Rename variables for shared util (#14323)
e0fb2414
Move comment attach/print code into `main/comments/` (#14327)
6b40e2e5
Remove `flow` plugin from `babel` parser (#14314)
add84358
Use named export in `core.js` (#14325)
81d56f9b
Throw errors for index signature with `declare` (#14316)
d6d77b90
Refactor ignore check (#14324)
cb901d0f
Update dependency magic-string to v0.29.0 (#14344)
754b4e21
Update dependency esbuild to v0.17.7 (#14335)
48eca0f5
Update dependency jest to v29.4.2 (#14337)
e0040651
Update actions-cool/issues-helper action to v3.4.0 (#14339)
31634503
Update dependency eslint to v8.34.0 (#14342)
37480095
Update dependency ci-info to v3.8.0 (#14340)
b003fbda
Update dependency @angular/compiler to v15.1.4 (#14334)
ab750082
Update dependency minimist to v1.2.8 (#14338)
63565d48
Update dependency cspell to v6.23.0 (#14341)
7787c2a6
Update dependency eslint-plugin-compat to v4.1.1 (#14336)
5425a646
Update dependency execa to v7 (#14347)
2b1855af
Update dependency jest-docblock to v29.4.2 (#14343)
15edc46b
Update typescript-eslint to v5.51.0 (#14346)
04ac8601
Support print `ChainExpression` (#13735)
5cdc3ab2
Update dependency cspell to v6.23.1 (#14349)
d8bf3652
Enable `no-duplicate-imports` rule (#14331)
83124d7f
Extract `common/util.js` to `utils/` (#14329)
282a4019
Refactor literal related code (#14312)
222d84f9
Refactor leading semicolon print (#14313)
de00f5be
Update build script (#14362)
31026862
Reduce bundle size (#14370)
5ea9a8f8
Markdown: Remove loose-item plugin (#14372)
be474c78
Remove dynamic imports (#14369)
4fb03a7f
Update typescript-eslint to v5.52 (#14358)
0d6c8f68
Update dependency jest to v29.4.3 (#14379)
92e05ba5
Update dependency @angular/compiler to v15.1.5 (#14376)
466e1d57
Update dependency esbuild to v0.17.8 (#14377)
31ebf5b8
Update dependency eslint-plugin-compat to v4.1.2 (#14378)
5c8658d1
Update dependency cspell to v6.26.3 (#14383)
0e3308d1
Update dependency c8 to v7.13.0 (#14382)
3300d0c0
Update dependency jest-docblock to v29.4.3 (#14380)
09ff31d2
Update dependency flow-parser to v0.200.0 (#14384)
40138541
Update dependency meriyah to v4.3.4 (#14381)
639dd4e1
Reuse `attachComments` (#14352)
b0208fc3
CLI: Display posix style paths on Windows (#14333)
f83b6911
Update dependency esbuild to v0.17.9 (#14386)
b113b7ac
Minor tweak to ts printer (#14392)
b6766551
Make `tryCombinations` throws `AggregateError(like)` error (#14388)
5d04f01c
Extract code from `parser-postcss.js` (#14387)
06a7bd1d
Cleanup visitor keys for `DeclareInterface` and `InterfaceDeclaration…
47830dbe
Less: Add test for interpolation in selector (#14330)
2833698c
Merge branch 'main' into next
164eab2f
Moves `@types/prettier` to this repository (#14212)
813df18d
Support babel v7.21 (#14391)
24652d91
Simplify `canAttachComment` (#14399)
745e0d52
Improve JSON parse error (#14398)
5f68f866
Merge branch 'main' into next
4a26d88f
Linting
3662619f
Add `WhitespaceUtils` (#13923)
595a2bee
Update dependency esbuild to v0.17.10 (#14415)
2e9e99bd
Update dependency @babel/core to v7.21.0 (#14414)
8f809c29
Update dependency flow-parser to v0.200.1 (#14416)
8569f29a
Update dependency @angular/compiler to v15.2.0 (#14417)
9fac56a3
Update dependency magic-string to v0.30.0 (#14419)
891625a3
Update typescript-eslint to v5.53.0 (#14420)
0a15a6c2
Update dependency @babel/parser to v7.21.2 (#14413)
44487602
Update dependency eslint to v8.35.0 (#14423)
ef019ef1
Update dependency @babel/types to v7.21.2 (#14421)
37a695c3
Update dependency cspell to v6.27.0 (#14422)
f688040a
Perf: Array#at is slow for a hot function like `AstPath.node` (#14396)
0ed81d2b
Refactor options normalization (#14410)
b9f02a9e
Build: add utility to get package files (#14430)
758dfcac
Release 3.0.0-alpha.5
b15fe3f8
Use `export default` in `.d.ts` files (#14435)
d0ecad9c
Release 3.0.0-alpha.6
432976de
Simplify `inferParserByLanguage` (#14437)
f8fed37d
Improve `cursorNode` find logic (#13916)
c79b3eec
Simplify `inferParser` (#14438)
a6dcfe90
Merge `inferParserByLanguage` into `inferParser` (#14439)
1482ee27
Refactor html parser (#14443)
375e3f83
Update dependency codemirror-graphql to v2.0.4 (#14447)
37e59ad7
Update dependency esbuild to v0.17.11 (#14448)
43a3ccee
Update typescript-eslint to v5.54.0 (#14452)
3a70d815
Update dependency eslint-plugin-unicorn to v46 (#14453)
2fea07ce
Update dependency lz-string to v1.5.0 (#14451)
095312d3
Update dependency cspell to v6.28.0 (#14449)
256f0f56
Update dependency @angular/compiler to v15.2.1 (#14446)
5befa148
Simplify HTML embed language parser inference (#14440)
aee8e3b0
Update dependency flow-parser to v0.201.0 (#14450)
bed42471
Don't trim in html `insertPragma` (#14441)
cb25bd31
Add docs for pnpm (#14455)
0b6d400c
Move `prettier-ignore`d node print into estree printer (#14406)
8036248b
Add `document/public.js` to export public apis, remove internal utils…
134f6078
Stop manipulate `options` in parsers (#14463)
88b67b57
Move `addAlignment` to `coreFormat` (#14467)
9d328e63
Move `propagateBreaks` to `printDocToString` (#14466)
57b37a3c
Move `DebugError` into `cli/` (#14464)
8865ade2
Fix perf test scripts (#14460)
9bfebb40
Add test for #14454 (#14471)
dbd5e3fe
Remove unnecessary parentheses around class expression (#14409)
80419fa6
Reuse `getPreferredQuote` (#14474)
8f679c2f
Simplify `getPreferredQuote` (#14477)
5365fe4f
Improve internal eslint rule (#14479)
b5210fd3
Break on TypeScript parameter properties (#14402)
921eaf46
Ignore `htmlWhitespaceSensitivity` when formatting Vue SFC root block…
06aa1a35
Add utilities to get descendants (#14470)
4585fb05
Refactor estree main print function (#14473)
a07927aa
Build: Auto generate types files for plugins (#14462)
18baca62
Bundle printers in plugins (#14354)
6c9ba400
Update dependency webpack to v5.76.1 (#14500)
747be9de
Update dependency eslint-config-prettier to v8.7.0 (#14494)
97d85e15
Update dependency cspell to v6.29.0 (#14492)
a21b8501
Update typescript-eslint to v5.54.1 (#14491)
733ac90d
Update dependency @angular/compiler to v15.2.2 (#14489)
3e556c2f
Fix builtin plugins (#14502)
e2c5da38
Update dependency webpack to v5.76.1 (#14499)
703eafc5
Update dependency import-meta-resolve to v2.2.2 (#14490)
eb65330f
Update dependency eslint to v8.36.0 (#14493)
073b9b0e
Update dependency espree to v9.5.0 (#14495)
a8a55d4d
Update dependency execa to v7 (#14496)
8642b20b
Update dependency jest to v29.5.0 (#14498)
e0df0f37
Update dependency hermes-eslint to v0.10.0 (#14503)
1fb02e85
Stop evaluate graphql visitor keys (#14504)
3fc6298c
Support TypeScript 5 (#13819)
d797f0cf
Merge branch 'main' into next
883324db
Update dependency meriyah to v4.3.5 (#14526)
18676dcb
Update dependency esm-utils to v4.1.2 (#14524)
1802b4af
Update dependency esbuild to v0.17.12 (#14523)
e7e756e4
Update dependency execa to v7.1.1 (#14525)
256c22e8
Update dependency @babel/core to v7.21.3 (#14520)
37103c7d
Build(deps): Bump actions/checkout from 3.3.0 to 3.4.0 (#14519)
d34f16b8
Update Yarn to v3.5.0 (#14529)
cab7770f
Update babel to v7.21.3 (#14531)
b33c2819
Update dependency angular-estree-parser to v6.1.0 (#14533)
f36e4bc8
Update dependency typescript to v5.0.2 (#14528)
4bfac89f
Update dependency eslint-plugin-regexp to v1.13.0 (#14535)
eee3c311
Update dependency cspell to v6.30.2 (#14534)
211368eb
Extract code from postcss printer (#14480)
5b80d296
Update dependency @types/jest to v29.5.0 (#14532)
63caf6b4
Update dependency execa to v7.1.1 (#14536)
3bf53687
Move comment attach into `printAstToDoc` (#14465)
7c2baf35
Update dependency @babel/parser to v7.21.3 (#14522)
f85e7b07
Merge remote-tracking branch 'remotes/upstream/main' into next
dddacc42
Merge remote-tracking branch 'remotes/upstream/main' into next
aaffacce
Remove outdated changelog
3c7a4fa8
Update dependency @angular/compiler to v15.2.3 (#14521)
d34fb490
Merge branch 'main' into next
cfc8bbc6
Fix tests
1c80e010
Share logic between flow and ts (#14545)
21727ccf
Refactor export declaration print (#14546)
addc3409
Fix Vue filter detection (#14542)
a3b352ce
Add `isFlowKeywordType` (#14549)
6718d466
Update dependency flow-parser to v0.202.0 (#14555)
8b5687ac
Style: early return to reduce indention (#14561)
9d08be89
Merge 14208 into next
b61ef0d2
Refactor to use `path.match`
8e16d66b
Exclude custom props for now
8ddaa4c5
Merge branch 'main' into next
ee482b16
Unpin Node.js version (#14558)
68c7f2f6
Remove plugins from standalone build (#14570)
413a76d7
Update plugin build system (#14571)
6d21de11
Format TypeScript expressions in Vue template attributes (#14506)
e154250e
Fix plugin loading cache (#14576)
fc81cc13
Throw errors when parser can't be found (#14577)
5f4a98e3
Perf: Skip `printComments` if printer don't have `printComment` funct…
ad9fd35b
Move `avoidAstMutation` to `printer.experimentalFeatures` (#14579)
368620a6
Remove outdated workaround (#14578)
71339e36
Support parse void element in vue (#14560)
94660f6c
Allow multiple decorators on same getter/setter (#14584)
f9fae7f3
Release 2.8.7
543a9d71
Bump Prettier dependency to 2.8.7
0e26a75e
Git blame ignore 2.8.7
5ed59be7
Clean changelog
353e3ac6
Merge branch 'patch-release'
dd779dae
Test invalid TOML config (#14583)
d8838349
pull
added
:arrow_heading_down: pull
Remove dead code (#14554)
4edb68ac
Transform `.at` to property access to improve performance (#14590)
00e59ed0
Update dependency webpack to v5.76.3 (#14597)
e10aba90
Update dependency @angular/compiler to v15.2.4 (#14592)
5174a4e1
Update dependency esbuild to v0.17.14 (#14595)
99ce2d86
Format TS expressions when any script tag has `lang="ts"` (#14587)
1bf47c1e
Merge branch 'main' into next
9329924d
Update snapshot
c4d7a4bc
Build(deps): Bump actions/checkout from 3.4.0 to 3.5.0 (#14591)
6650770c
Update dependency @glimmer/syntax to v0.84.3 (#14594)
2ee702f1
Update dependency @glimmer/reference to v0.84.3 (#14593)
e31c28c2
Stop insert unnessary leading semicolon in vue event binding (#14557)
3c7e2173
Refactor `printParenthesizedValueGroup` (#14540)
919670df
Move ts script check into `embed` print (#14559)
bae1eb4a
Merge pull request #9583 from prettier/next
3b82a343
Build(deps): Bump http-cache-semantics from 4.1.0 to 4.1.1 (#14604)
5d74a2bf
Build(deps): Bump terser from 5.7.1 to 5.16.8 in /website (#14602)
10a07cdc
Build(deps): Bump async from 2.6.3 to 2.6.4 in /website (#14601)
702e7b49
Build(deps): Bump minimist from 1.2.5 to 1.2.8 in /website (#14600)
a5a1f74d
Build(deps): Bump qs from 6.5.2 to 6.5.3 in /website (#14603)
6905b39e
pull
merged
6905b39e
into main
2 years ago
Login to write a write a comment.
Login via GitHub
Reviewers
No reviews
Assignees
No one assigned
Labels
:arrow_heading_down: pull
Milestone
No milestone
Login to write a write a comment.
Login via GitHub