Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upUpdate prettier #22520
Update prettier #22520
Conversation
|
Thanks for the PR! I have one change request: Prettier 2.0 had changed default value for So could you please add |
52464d4
to
a31c4d7
|
Sorry for the delay. I think we can merge this but need to resolve conflicts first and also figure out why the |
769b379
to
381865b
|
@vladar I just rebased my branch onto |
|
Yeah but for some reason |
|
@vladar I only get warnings when running Will update |
|
@vladar I've found a linting error, but CI is still failing |
|
@vladar I updated all |
|
@vladar Linting is passing, but still errors on unit tests. |
|
I think tests are failing because prettier output is captured in snapshots in several plugins. You need to run Also, sadly, there are new conflicts. Looks like we must move fast after changes to be able to merge this |
| @@ -173,7 +173,8 @@ To write a new GraphQL example, a Codesandbox project with a Gatsby site can be | |||
| ```mdx | |||
| Here's an example of a GraphQL query inline: | |||
| <iframe src="https://711808k40x.sse.codesandbox.io/___graphql?query=query%20TitleQuery%20%7B%0A%20%20site%20%7B%0A%20%20%20%20siteMetadata%20%7B%0A%20%20%20%20%20%20title%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%0A&explorerIsOpen=false&operationName=TitleQuery" /> // highlight-line | |||
| <iframe src="https://711808k40x.sse.codesandbox.io/___graphql?query=query%20TitleQuery%20%7B%0A%20%20site%20%7B%0A%20%20%20%20siteMetadata%20%7B%0A%20%20%20%20%20%20title%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%0A&explorerIsOpen=false&operationName=TitleQuery" /> // | |||
| highlight-line | |||
1d40082
to
36baef8
|
@vladar I just rebased the branch and tried to run Cannot find module 'gatsby-core-utils' from 'path-serializer.ts'Can't figure out what causes this error tho |
|
Maybe try running |
d8f22a7
to
71c8bbb
packages/gatsby-plugin-sharp/src/__tests__/__snapshots__/index.js.snap
Outdated
Show resolved
Hide resolved
This reverts commit 008eb99
packages/gatsby-plugin-sharp/src/__tests__/__snapshots__/index.js.snap
Outdated
Show resolved
Hide resolved
packages/gatsby-plugin-sharp/src/__tests__/__snapshots__/index.js.snap
Outdated
Show resolved
Hide resolved
Co-Authored-By: Dima An <dmitriym44@gmail.com>
|
Finally, it's green! Sorry for the churn but it's done now! Let's ship it while we can :) Great job! |
ff911e2
into
gatsbyjs:master
|
I'm happy it got green |
yarn formatfrom root of projectCloses #22506