24 Commits
Author SHA1 Message Date
fisker Cheung b5a3bf3d6e Enable jest/prefer-strict-equal rule (#18714) 2026-01-22 23:53:24 +08:00
Dom Poradaandfisker 6fe3de301a Include available printers in plugin type declarations (#18706)
Co-authored-by: fisker <lionkay@gmail.com>
2026-01-22 01:07:32 +08:00
fisker Cheung 8d53e726a1 Remove since from SupportLanguage and ChoiceSupportOption.options types (#17578) 2025-06-20 04:12:51 +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 377b231a5d Bundle package into dist/prettier/ (#15825) 2025-04-09 08:38:46 +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
ntnyq 92ac6d036e Add missing option experimentalOperatorPosition types (#17091) 2025-02-10 09:36:17 +00:00
Paul DraperandSosuke Suzuki bef1d61a7a Implement objectWrap config option (#16163)
Co-authored-by: Sosuke Suzuki <aosukeke@gmail.com>
2025-01-15 16:44:45 +09:00
fisker Cheung 07b468917e Remove blank lines between imports (#16450) 2024-09-29 17:56:37 +08:00
auvred f31f84a687 Fix getFileInfo and getSupportInfo type definitions (#15854) 2024-01-07 22:53:18 +09:00
Mark Amery 2c3e42ba9a Re-enable tests/dts/unit/cases/parsers.ts - take 2 (#15789)
Re-enable tests/dts/unit/cases/parsers.ts
2023-12-28 23:42:57 +09:00
Alexander Kachkaev 1ea2fd059a Add eslint-plugin-simple-import-sort (#15817) 2023-12-18 03:34:12 +08:00
Mark Amery 23b3ca2f52 Fix formatDiagnostic in tests/dts/unit/run.js (#15790) 2023-12-13 22:55:39 +02:00
Mark Amery 1e30f66f39 Remove claim, untrue since over 5 years ago, that cursorOffset is incompatible with rangeStart/rangeEnd (#15750) 2023-12-08 16:35:02 +02:00
Georgii Dolzhykov 2ca5d757b7 Fix expect call in dts test (#15766) 2023-12-06 00:10:45 +02:00
auvred ceed405395 Add typing to support readonly array properties of AST Node (#15127)
* Add typing to support `readonly` array properties of AST Node

* add changelog

* fix changelog

* add test case
2023-07-22 01:43:26 +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 6d21de11fd Update plugin build system (#14571) 2023-03-24 08:44:25 +08:00
fisker Cheung e2c5da38f4 Fix builtin plugins (#14502) 2023-03-13 12:34:56 +08:00
fisker Cheung 18baca62c9 Build: Auto generate types files for plugins (#14462) 2023-03-13 09:17:24 +08:00
fisker Cheung 134f6078e1 Add document/public.js to export public apis, remove internal utils (#14456) 2023-03-07 08:54:11 +08:00
SUZUKI Sosukeandfisker Cheung 813df18df6 Moves @types/prettier to this repository (#14212)
* Rename `types` to `thirs-party-types`

* Copy `index.d.ts` from `@types/prettier`

* Make public APIs async

* Add missing `formatAST`

* Fix `CustomParser`

* Fix `Parser.parse` signature

* Add comment

* Add `standalonw.d.ts`

* first implement

* Fix path

* Add missing parser `.d.ts`

* Fix

* Fix path

* Introduce valid tests

* Add unit tests for dts files

* Add unit tests

* Simplify unit testing

* Tweaks structures

* Revert needless change

* Fix types path

* Introduce `ts-expect`

* Fix doc utils api

* Add AstPath API

* Fix API

* Fix tests

* Fix changelog

* Move dts

* Update module specifiers

* Remove generate dts config file

* Update build scripts

* Fix type errors

* Refactor with namespace imports

* Update comments

* Fix build script

* Improve build script

* `typing` -> `types`

* Clean up

* Minor tweak

* Minor tweak

* Modify `exports` field

* Fix paths in builder

* Refactor

* Refactor

* Address review

* Update changelog

* Address reviews

* Remove `since` from tests

* Improve utils type def

* Mark deprecated methods

* Address review

* Move docs types

* Address review

* Update c8 config

* Minor tweak

---------

Co-authored-by: fisker Cheung <lionkay@gmail.com>
2023-02-23 22:15:18 +09:00