Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Format YAML files with Prettier #8407

Merged
merged 9 commits into from
Sep 25, 2018
Merged

Format YAML files with Prettier #8407

merged 9 commits into from
Sep 25, 2018

Conversation

lipis
Copy link
Contributor

@lipis lipis commented Sep 21, 2018

Since we already using Prettier, why not formatting the YAML files with it.

* master: (22 commits)
  Adding blog post link to readme (gatsbyjs#8397)
  [www] A bunch of mostly "Creator"-related UI updates (gatsbyjs#8390)
  Add Ramon Chancay Creator (gatsbyjs#8389)
  [www] Update LeKoArts' portfolio starters' info (gatsbyjs#8365)
  Add self to creators. (gatsbyjs#8391)
  Behind the scenes (gatsbyjs#8392)
  Add https://hawaiinational.bank to sites.yml (gatsbyjs#8394)
  Add Marc-Antoine Ruel to community page (gatsbyjs#8378)
  chore(release): Publish
  [gatsby-image] Restore placeholder image transition (gatsbyjs#8350)
  Add www.leyanlo.com to sites.yml (gatsbyjs#8363)
  Add Jest to v2 migration docs (gatsbyjs#8384)
  [www] Fix wire.com Showcase URL (gatsbyjs#8376)
  Update Creator Showcase and Site Showcase (gatsbyjs#8377)
  Created stub article for navigation doc
  Added new navigation docs to sidebar
  www: fix images on audit with lighthouse doc (gatsbyjs#8373)
  Fix link (gatsbyjs#8375)
  Updated links
  using gatsby image in sidebar nav
  ...
package.json Outdated
"jest": "jest",
"lerna": "lerna",
"lerna-prepare": "lerna run prepare",
"lint": "npm-run-all --continue-on-error --parallel lint:js lint:yaml",
"lint": "npm-run-all --continue-on-error --parallel lint:js",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we still want to lint that

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated it..

@lipis lipis requested a review from a team as a code owner September 25, 2018 11:35
@lipis lipis requested a review from a team September 25, 2018 11:35
Copy link
Contributor

@pieh pieh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @lipis!

@pieh pieh merged commit 0514b7d into gatsbyjs:master Sep 25, 2018
@gatsbot
Copy link

gatsbot bot commented Sep 25, 2018

Holy buckets, @lipis — we just merged your PR to Gatsby! 💪💜

Gatsby is built by awesome people like you. Let us say “thanks” in two ways:

  1. We’d like to send you some Gatsby swag. As a token of our appreciation, you can go to the Gatsby Swag Store and log in with your GitHub account to get a coupon code good for one free piece of swag. (Currently we’ve got a couple t-shirts available, plus some socks that are really razzing our berries right now.)
  2. We just invited you to join the Gatsby organization on GitHub. This will add you to our team of maintainers. You’ll receive an email shortly asking you to confirm. By joining the team, you’ll be able to label issues, review pull requests, and merge approved pull requests.

If there’s anything we can do to help, please don’t hesitate to reach out to us: tweet at @gatsbyjs and we’ll come a-runnin’.

Thanks again!

@shannonbux
Copy link
Contributor

Awesome work, thanks @lipis! I think the absence of Prettier in YAML files has actually caused a few problems before, so this is great!

@lipis lipis deleted the patch-1 branch September 25, 2018 17:22
oorestisime pushed a commit to oorestisime/gatsby that referenced this pull request Sep 28, 2018
* Format YAML files with Prettier

* Yarn

* Format YAML files

* Editor config

* Lint yaml files
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.

3 participants