Sam Zhou
|
ae8dcc48f5
|
Component syntax and related language features printing support (#16191)
* Component syntax and related language features printing support
Relevant Flow docs:
- https://flow.org/en/docs/react/component-syntax/
- https://flow.org/en/docs/react/render-types/
* Update issue number
* declare new test as unstable
* fix tests
|
2024-04-04 23:10:00 +09:00 |
|
fisker Cheung
|
6eda34db44
|
Test: Rename run_spec to runFormatTest (#15943)
|
2024-01-19 17:20:24 +08:00 |
|
fisker Cheung
|
5b215c3d26
|
Fix comment print in if (#15826)
|
2024-01-03 11:20:17 +08:00 |
|
fisker Cheung
|
1dc924f2f2
|
Add jsonc parser (#15831)
|
2024-01-02 10:59:34 +08:00 |
|
Alexander Kachkaev
|
1ea2fd059a
|
Add eslint-plugin-simple-import-sort (#15817)
|
2023-12-18 03:34:12 +08:00 |
|
Sosuke Suzuki
|
eebf0e4b5e
|
Bump Prettier dependency to 3.1.0
|
2023-11-13 12:00:57 +09:00 |
|
Sosuke Suzuki
|
fa48415617
|
Bump Prettier dependency to 3.0.0
|
2023-07-05 21:50:05 +09:00 |
|
 fisker CheungandSUZUKI Sosuke
|
54404fc96f
|
Remove plugin search feature (#14759)
Co-authored-by: SUZUKI Sosuke <aosukeke@gmail.com>
|
2023-05-05 10:31:25 +08:00 |
|
fisker Cheung
|
ecfa324b69
|
Format <script> inside SVG (#14400)
|
2023-04-10 10:43:48 +08:00 |
|
fisker Cheung
|
686320a88c
|
Fix inconsistent union/intersection type format between TS and Flow (#14654)
|
2023-04-10 09:58:12 +08:00 |
|
fisker Cheung
|
8036248b0a
|
Move prettier-ignored node print into estree printer (#14406)
|
2023-03-06 15:40:18 +08:00 |
|
 fisker CheungandSUZUKI Sosuke
|
aee8e3b0c2
|
Simplify HTML embed language parser inference (#14440)
Co-authored-by: SUZUKI Sosuke <aosukeke@gmail.com>
|
2023-03-06 09:24:08 +08:00 |
|
fisker Cheung
|
3662619f6f
|
Linting
|
2023-02-24 09:47:44 +08:00 |
|
fisker Cheung
|
4a26d88f9a
|
Merge branch 'main' into next
# Conflicts:
# src/language-js/needs-parens.js
# tests/config/format-test.js
|
2023-02-24 09:40:12 +08:00 |
|
fisker Cheung
|
bc098779c4
|
Add missing parentheses for decorator (#14393)
|
2023-02-24 09:20:34 +08:00 |
|
 renovate[bot]andfisker
|
639dd4e1df
|
Update dependency meriyah to v4.3.4 (#14381)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
|
2023-02-19 20:23:17 +08:00 |
|
fisker Cheung
|
0d6c8f681d
|
Update typescript-eslint to v5.52 (#14358)
|
2023-02-19 11:15:06 +08:00 |
|
fisker Cheung
|
5cdc3ab2dd
|
Support print ChainExpression (#13735)
|
2023-02-13 10:11:40 +08:00 |
|
 fisker CheungandGeorgii Dolzhykov
|
add84358d8
|
Remove flow plugin from babel parser (#14314)
Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>
|
2023-02-10 17:27:17 +08:00 |
|
fisker Cheung
|
97c8e3c18f
|
Run JSX tests on acorn, espree and meriyah (#10494)
|
2023-02-01 14:20:36 +08:00 |
|
fisker Cheung
|
3017876833
|
Forbid test babel parser in typescript/ (#14281)
|
2023-02-01 09:30:36 +08:00 |
|
fisker Cheung
|
3cb08c875d
|
Test: auto test babel-flow parser (#14245)
|
2023-01-31 20:30:11 +08:00 |
|
fisker Cheung
|
f65768d00a
|
Merge branch 'main' into next
# Conflicts:
# package.json
# scripts/release/yarn.lock
# src/language-css/parser-postcss.js
# src/language-css/printer-postcss.js
# src/language-js/print/jsx.js
# src/language-json/printer-estree-json.js
# website/yarn.lock
# yarn.lock
|
2023-01-04 14:25:53 +08:00 |
|
fisker Cheung
|
e301b1f9ce
|
Fix comments inside JSX attributes (#14082)
Fixes https://github.com/prettier/prettier/issues/11242
|
2022-12-30 10:36:58 +08:00 |
|
fisker Cheung
|
9afa8544eb
|
Merge branch 'main' into next
# Conflicts:
# src/language-js/needs-parens.js
|
2022-12-29 17:50:50 +08:00 |
|
fisker Cheung
|
ef707da0a2
|
Fix formatting for auto-accessors with comments (#14038)
Fixes https://github.com/prettier/prettier/issues/14036
|
2022-12-29 17:17:54 +08:00 |
|
fisker
|
a51568db85
|
Merge branch 'main' into next
# Conflicts:
# package.json
# scripts/vendors/vendor-meta.json
# src/language-js/needs-parens.js
# src/language-js/utils/index.js
# tests/format/misc/errors/js/assignment/jsfmt.spec.js
# tests/format/misc/typescript-only/__snapshots__/jsfmt.spec.js.snap
# vendors/chalk.js
# vendors/execa.js
# vendors/mem.js
# vendors/string-width.js
# vendors/tempy.js
# yarn.lock
|
2022-12-26 10:42:45 +08:00 |
|
fisker
|
20fad630fa
|
Fix test
|
2022-12-22 10:19:01 +08:00 |
|
 fisker CheungandGeorgii Dolzhykov
|
a6b6184d75
|
Add missing parentheses to let (#14000)
Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>
|
2022-12-22 09:42:03 +08:00 |
|
fisker Cheung
|
b697a596a6
|
TypeScript: Throw errors for invalid modifier on type parameter (#13853)
|
2022-11-18 09:54:23 +08:00 |
|
fisker Cheung
|
0d808c5ad8
|
Remove outdated range fix (#13736)
|
2022-11-14 19:45:08 +08:00 |
|
fisker Cheung
|
1de926ac79
|
Support "Import Reflection" proposal (#13771)
|
2022-11-07 09:49:35 +08:00 |
|
Sosuke Suzuki
|
ff0529ac2e
|
Backport "Support TS4.9 satisfies operator (#13764)" (#13783)
|
2022-11-04 10:35:50 +08:00 |
|
Sosuke Suzuki
|
931661a7aa
|
Support TS4.9 satisfies operator (#13764)
* Print `satisfies` operators
* Add tests
* Add changelog
* Add `hug-args` tests
* Add more tests for TSAsExpression
* Add tests for argument expansion
* Add tests for template literal
* Add tests for ternary
* Add tests for export default satisfies
* Add tests for no lookahead tokens
* Add more tests for needs parens 1
* Add more tests for needs-parens 2
* Add more tests for needs parens 3
* Add tests for needs parens 4
* Add comment
* Add more tests for needs parens 5
* Add more tests for needs parens 6
* Fix test cases
* Fix snapshots
* Fix unstable tests
* No parens for mixed
* Merge printing logic
* More reuse `isTSTypeExpression`
|
2022-11-01 19:08:55 +09:00 |
|
fisker Cheung
|
4a8de7f459
|
Improve test (#13641)
|
2022-10-18 10:01:09 +08:00 |
|
Georgii Dolzhykov
|
effe30a3b8
|
Playground: show preprocessed AST (#13606)
|
2022-10-10 14:26:55 +03:00 |
|
 fisker CheungandSosuke Suzuki
|
31a796d32c
|
Restructure package files, add exports (#13530)
Co-authored-by: Sosuke Suzuki <aosukeke@gmail.com>
|
2022-10-06 15:20:19 +08:00 |
|
fisker Cheung
|
f3d1790533
|
Enable logical-assignment-operators rule (#13529)
|
2022-09-29 10:40:13 +08:00 |
|
Georgii Dolzhykov
|
6d4d011252
|
Fix unstable embedded template literals (#13532)
|
2022-09-26 16:24:41 +03:00 |
|
fisker Cheung
|
16c9d8bafe
|
Bundle files in ESM (#13266)
|
2022-09-23 09:46:18 +08:00 |
|
 renovate[bot]andfisker Cheung
|
bd5f91545f
|
Update dependency typescript to v4.8.2 (#13381)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
|
2022-09-07 21:02:51 +08:00 |
|
 Georgii Dolzhykovandfisker Cheung
|
4d5b645e0e
|
Support async parser for embedded languages (#13211)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
|
2022-08-07 00:45:06 +08:00 |
|
fisker Cheung
|
5aadab6f28
|
Support ESM plugins (#13201)
|
2022-08-06 10:42:27 +08:00 |
|
liuxingbaoyu
|
3680bb79e1
|
Update some tests (#13176)
* Revert "Disable a test (#13159)"
This reverts commit 26cf77a5d5.
* remove a test case
|
2022-07-26 11:30:41 +09:00 |
|
fisker Cheung
|
26cf77a5d5
|
Disable a test (#13159)
|
2022-07-24 00:19:07 +08:00 |
|
 renovate[bot]andfisker Cheung
|
ada29a3990
|
Update dependency @babel/parser to v7.18.9 (#13065)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
|
2022-07-22 22:12:20 +08:00 |
|
fisker Cheung
|
592f27ce0b
|
Fix integration test (#12859)
|
2022-07-20 23:18:24 +08:00 |
|
fisker Cheung
|
8397527c05
|
Build(deps-dev): Bump tempy from 2.0.0 to 3.0.0 (#12735)
|
2022-07-20 09:50:25 +08:00 |
|
fisker Cheung
|
218f936f30
|
Fix
|
2022-05-28 11:43:41 +08:00 |
|
fisker Cheung
|
9569ab12aa
|
Merge branch 'main' into next
# Conflicts:
# .github/renovate.json5
# .github/workflows/lint.yml
# package.json
# src/cli/format.js
# src/language-js/print/type-annotation.js
# src/language-js/print/typescript.js
# src/language-js/utils/index.js
# tests/format/typescript/enum/jsfmt.spec.js
# tests/format/vue/with-plugins/jsfmt.spec.js
# website/yarn.lock
# yarn.lock
|
2022-05-28 11:19:03 +08:00 |
|