Commit Graph
2905 Commits
Author SHA1 Message Date
fisker Cheung 59c635b939 Correctly parse <mj-style> and <mj-raw> (#17400) 2025-05-06 10:31:59 +08:00
Maxime Brazeillesandfisker 906565775b Enabling CSS formatting within <mj-style> tag (#17338)
Co-authored-by: fisker <lionkay@gmail.com>
2025-05-06 09:46:15 +08:00
fisker Cheungandautofix-ci[bot] 38dc5dee18 Parse Prettier config with yaml (#17410)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-05-06 08:18:50 +08:00
o-m12a d4684bf10e Add more tests for reserved words (#17416) 2025-04-29 22:41:13 +08:00
fisker Cheung 45d3498377 Switch html-tag-names to @prettier/html-tags (#17408) 2025-04-27 03:06:22 +08:00
SUZUKI Sosukeandautofix-ci[bot] d3332e06d3 Preserve spaces between CSS words and embedded expression (#17398)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-04-25 10:11:50 +08:00
fisker Cheung e7202d63e7 Refactor mockable functionalities (#17392) 2025-04-23 23:42:19 +08:00
fisker Cheung 369817b61f Measure time with performance.now() instead of Date.now() (#17390) 2025-04-23 02:51:20 +08:00
fisker Cheung a8557aa6df Remove stdin mock (#17389) 2025-04-23 02:30:55 +08:00
fisker Cheung 8c7aa6957b Remove outdated mock (#17391) 2025-04-23 02:25:01 +08:00
fisker Cheung 05a5ff54d0 Add failed test back (#17384) 2025-04-22 17:17:47 +08:00
fisker Cheung 6f4c89f8f9 Update snapshot format for CLI test (#17386) 2025-04-21 23:34:55 +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 b289ecbb19 Remove support for tupleAndRecord (#17363) 2025-04-17 04:53:05 +08:00
SUZUKI Sosuke bd959e1757 Support @utility directive for Tailwind (#17362)
* Ignore operators in `@utility` directive

* Add tests for `@utility` directives

* Add changelog
2025-04-16 11:55:21 +09:00
JounQinandfisker Cheung c93393c0be Add isSupported function support for language (#17331)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
Co-authored-by: fisker <lionkay@gmail.com>
2025-04-14 09:15:43 +08:00
fisker Cheung b3d1f8cdc2 Add mjml parser (#17339) 2025-04-14 08:12:53 +08:00
f3486cfbc5 Remove extra colon after track in angular @for control-flow (#17280)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2025-04-14 08:10:04 +08:00
fisker Cheung fe536ff6b1 Remove extra lines in --file-info and --support-info (#17332) 2025-04-09 15:23:50 +08:00
fisker Cheung 377b231a5d Bundle package into dist/prettier/ (#15825) 2025-04-09 08:38:46 +08:00
fisker Cheung 004e1e0028 Replace lines-and-columns with index-to-position (#17325) 2025-04-09 08:12:22 +08:00
Florian Diemingerandfisker 91c563e323 Fix adjacent markdown syntax in blockquote (#16596)
Co-authored-by: fisker <lionkay@gmail.com>
2025-03-28 20:00:57 +08:00
fisker Cheung 5d8337e8e0 Allow comment only JSONC files (#17269) 2025-03-20 23:01:10 +08:00
fisker Cheung 2b3710d805 Fix embedded format with cursorOffset (#17254) 2025-03-17 11:23:17 +08:00
fisker Cheung 44d7298f2d Support TemplateLiteral introduced in Angular 19.2 (#17238) 2025-03-17 11:20:49 +08:00
fisker Cheung 39e9cabdf5 Support cursorOffset in prettier.__debug.printToDoc() (#17256) 2025-03-17 11:16:46 +08:00
renovate[bot]andfisker 27196f9be0 chore(deps): update dependency linguist-languages to v7.29.0 (#17222)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2025-03-11 13:49:13 +08:00
fisker Cheung c118e9db8e Replace chalk with picocolors (#17226) 2025-03-10 11:48:01 +08:00
renovate[bot]andfisker 1a48db46ed chore(deps): update dependency vnopts to v2.0.2 (#17221)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2025-03-08 19:36:56 +08:00
fisker Cheung 40a04dd216 Remove special logic for SequenceExpression as arrow function body (#17187) 2025-03-06 21:18:28 +08:00
fisker Cheung edbc835c9f Fix multiple comments in LogicalExpression and IntersectionType (#17193) 2025-03-05 02:48:25 +08:00
fisker Cheung 6a3c132be4 Add parentheses to numbers in optional member expression (#17190) 2025-03-05 02:47:46 +08:00
fisker Cheung 43d4f962f0 Fix missing parentheses in ConditionalTypeAnnotation (#17196) 2025-03-03 09:09:29 +08:00
fisker Cheung 9dac37c608 Replace benchmark with tinybench (#17132) 2025-02-26 16:06:02 +08:00
fisker Cheung 1c616b292e Don't interpret *.frag files as JavaScript files (#17178) 2025-02-26 15:53:21 +08:00
fisker Cheung 9eb1b341cd Add assertions to location sensitive nodes (#17141) 2025-02-26 15:52:31 +08:00
fisker Cheung ff3b785214 Support import type attribute in TSImportType (#16881) 2025-02-26 15:29:05 +08:00
fisker Cheung 73d26d777d Add parentheses to AssignmentExpression in class property keys (#17145) 2025-02-26 14:07:05 +08:00
ff3bb50881 Add parentheses to SequenceExpression in ReturnStatement and ExpressionStatement (#17085)
Co-authored-by: tongyu <tongyu10287@xwtec.cn>
Co-authored-by: fisker <lionkay@gmail.com>
2025-02-26 11:44:37 +09:00
fisker Cheung f818a362d6 Split huge SCSS test files (#17164) 2025-02-25 08:47:34 +08:00
fisker Cheung 5dc7e8e54a Accept URL as custom config file in resolveConfig (#17167) 2025-02-25 08:46:15 +08:00
fisker Cheung e830ad36a7 Support URL in plugins options (#17166) 2025-02-25 08:45:25 +08:00
fisker Cheung a94d2e7873 Replace execa with nano-spawn (#17128) 2025-02-25 08:07:03 +08:00
renovate[bot]andfisker 7ce2a35ef7 chore(deps): update dependency postcss to v8.5.3 (#17158)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2025-02-20 22:22:24 +08:00
renovate[bot]andfisker 533dc86593 chore(deps): update dependency eslint-plugin-unicorn to v57 (#17147)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2025-02-18 16:32:16 +08:00
fisker Cheung 64e7dab1fd Fix links to Prettier/Babel/Jest website (#17079) 2025-02-15 12:18:09 +08:00
Remco HaszingandSUZUKI Sosuke 9cf8ec23f6 Support dockercompose and github-actions-workflow (#17101)
Co-authored-by: SUZUKI Sosuke <aosukeke@gmail.com>
2025-02-12 11:41:11 +09:00
ntnyq 92ac6d036e Add missing option experimentalOperatorPosition types (#17091) 2025-02-10 09:36:17 +00:00
fisker Cheung 5b3dd6a6ef Add script to ensure format test directories contains format test script (#17077) 2025-02-08 17:27:43 +08:00