Skip to content

Prettier pass 3 - #8586

Merged
jackkav merged 11 commits into
Kong:developfrom
jackkav:prettier-pass-3
Apr 11, 2025
Merged

Prettier pass 3#8586
jackkav merged 11 commits into
Kong:developfrom
jackkav:prettier-pass-3

Conversation

@jackkav

@jackkav jackkav commented Apr 7, 2025

Copy link
Copy Markdown
Contributor
  • set up config to make minimal diff
  • ensure lint doesn't conflict
  • determine the best way to migrate: autoformat only changed, autoformat whole repo, run in CI

It has been suggested to follow an all in one approach. @ihexxa
I intend to first merge this then immediately open a second pr with the full autoformat to make rebasing a little easier.

closes: INS-5291

update:
prettier 3.5.3 is causing a OOM in the renderer so I'm switching it out for prettier-graphql which is much lighter solution and since its dep free i've chosen to import the code directly as mjs to avoid typing it as gql types are notorious. This might have bundling consequences, will wait for CI to tell us.

@jackkav
jackkav force-pushed the prettier-pass-3 branch 2 times, most recently from b5df47d to 263b211 Compare April 9, 2025 17:32
@jackkav
jackkav marked this pull request as ready for review April 9, 2025 17:33
@jackkav
jackkav merged commit ed001e0 into Kong:develop Apr 11, 2025
@jackkav
jackkav deleted the prettier-pass-3 branch April 11, 2025 11:11
cwangsmv pushed a commit that referenced this pull request Apr 21, 2025
* first pass

* use mjs

* 120

* single quote

* consistent quotes

* fix on save

* ancestors

* add recommended

* make vscode integration work

* remove prettier runtime dep

* use esm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants