Commit Graph
125 Commits
Author SHA1 Message Date
fisker Cheung 23f95644f5 Stop auto test babel-flow in tests (#17686) 2025-07-28 16:19:26 +08:00
renovate[bot]andfisker 034f826e17 chore(deps): update flow-parser (#17755)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2025-07-26 12:12:03 +08:00
renovate[bot]andfisker c468d33f16 chore(deps): update dependency oxc-parser to v0.75.0 (#17672)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2025-06-26 05:28:04 +08:00
fisker Cheung 0926587a5f Allow const without initializer in oxc-ts parser (#17654) 2025-06-24 00:26:42 +08:00
renovate[bot]andfisker 1652973553 chore(deps): update dependency hermes-parser to v0.29.0 (#17631)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2025-06-20 20:24:19 +08:00
fisker Cheung 7a91dc4a59 Revert "Support type cast comments for espree parser (#17587)" (#17614) 2025-06-19 15:49:38 +08:00
renovate[bot]andfisker d63e3c301d chore(deps): update dependency oxc-parser to v0.73.0 (#17604)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2025-06-15 04:14:13 +08:00
fisker Cheung 17cdff607a Support type cast comments for meriyah parser (#17600) 2025-06-13 17:27:07 +08:00
fisker Cheung 3b0f33539f Support type cast comments for espree parser (#17587) 2025-06-13 16:56:42 +08:00
fisker Cheung 2c7f02a7ab Enable decorators tests on flow and typescript parser (#17484) 2025-06-09 16:28:45 +08:00
86fc1c1091 chore(deps): update dependency oxc-parser to v0.72.2 (#17532)
Co-authored-by: overlookmotel <theoverlookmotel@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2025-06-07 18:31:27 +08:00
fisker Cheung 4df0a871ca Add hermes parser (#17520) 2025-05-29 15:30:45 +08:00
fisker Cheung 9e814108ca Add oxc-ts parser (#17483) 2025-05-27 13:32:23 +08:00
fisker Cheung a930383437 Support type cast comments for oxc parser (#17518) 2025-05-27 10:46:20 +08:00
fisker Cheung 40d9a7e2b0 Update oxc-parser to v0.72.0 (#17517) 2025-05-27 09:56:21 +08:00
fisker Cheungandautofix-ci[bot] c26d23c955 Add oxc parser (#17472)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-05-27 09:35:31 +08:00
fisker Cheung 441cb1e132 Fix comments in tagged template literal (#17510) 2025-05-27 09:08:27 +08:00
fisker Cheung d667dd5b52 Fix production test warning on Node.js 24 (#17456) 2025-05-21 11:58:26 +08:00
2e78cb5834 Support type cast comments for acorn parser (#17491)
Co-authored-by: fisker <lionkay@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-05-20 14:38:34 +08:00
fisker Cheung d4fd92e266 Bundle "Experimental CLI" (#17396) 2025-05-06 10:34:05 +08:00
fisker Cheung 59c635b939 Correctly parse <mj-style> and <mj-raw> (#17400) 2025-05-06 10:31:59 +08:00
fisker Cheung 42346f2ef7 Run CLI test in child_process (#17382) 2025-04-21 18:58:44 +08:00
Will Nayesandfisker 21c6f43612 Ignore single files with @noformat / @noprettier (#17344)
Co-authored-by: fisker <lionkay@gmail.com>
2025-04-18 21:28:47 +08:00
fisker Cheung b3d1f8cdc2 Add mjml parser (#17339) 2025-04-14 08:12:53 +08:00
fisker Cheung 004e1e0028 Replace lines-and-columns with index-to-position (#17325) 2025-04-09 08:12:22 +08:00
fisker Cheung c118e9db8e Replace chalk with picocolors (#17226) 2025-03-10 11:48:01 +08:00
fisker Cheung a94d2e7873 Replace execa with nano-spawn (#17128) 2025-02-25 08:07:03 +08:00
fisker Cheung 5b3dd6a6ef Add script to ensure format test directories contains format test script (#17077) 2025-02-08 17:27:43 +08:00
fisker Cheung c450b6ad8e Remove TLA from jest.config.js (#16938) 2024-12-16 11:19:18 +08:00
fisker Cheung 07b468917e Remove blank lines between imports (#16450) 2024-09-29 17:56:37 +08:00
fisker Cheung 1bb69dfd13 Cleanup for meriyah parser (#16677) 2024-09-27 17:57:44 +08:00
fisker Cheung d2c415deae Update meriyah to v6 (#16667) 2024-09-18 19:48:57 +08:00
fisker Cheung c03a12ad2b Enable require-unicode-regexp and regexp/strict rule (#16408) 2024-06-18 07:52:54 +09:00
Klaus Hott Vidalandfisker 16449ce914 renaming jsfmt.spec.js to format.test.js (#16244)
Co-authored-by: fisker <lionkay@gmail.com>
2024-05-06 10:25:10 +08:00
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