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

Add format-js to scripts README for Prettier support #19766

Closed
wants to merge 4 commits into from

Conversation

mkaz
Copy link
Member

@mkaz mkaz commented Jan 20, 2020

Description

Updates the scripts README with format-js instructions for Prettier support.
This should either be cherry picked into #18048 or merged after.

Types of changes

Documentation, confirm it works as expected.

@mkaz mkaz added [Type] Developer Documentation Documentation for developers [Tool] WP Scripts /packages/scripts labels Jan 20, 2020
Copy link
Member

@gziolo gziolo left a comment

Choose a reason for hiding this comment

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

Awesome work @mkaz. I’d appreciate sanity check from @jsnajdr.

packages/scripts/README.md Outdated Show resolved Hide resolved
Copy link
Member

@ntwb ntwb left a comment

Choose a reason for hiding this comment

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

Looks good, just need to update the instances of format-js to format:js in line with the lint:* nomenclature.

There are already a couple of instances where format:js was used to

Co-Authored-By: Stephen Edgar <stephen@netweb.com.au>
packages/scripts/README.md Outdated Show resolved Hide resolved
Copy link
Member

@ntwb ntwb left a comment

Choose a reason for hiding this comment

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

👍🏼

@mkaz
Copy link
Member Author

mkaz commented Jan 29, 2020

Closing in favor of #19946

@mkaz mkaz closed this Jan 29, 2020
@mkaz mkaz deleted the docs/scripts-prettier branch January 29, 2020 14:19
@gziolo
Copy link
Member

gziolo commented Jan 29, 2020

I see I reviewed it and missed when working on my patch 😞

The good part is that the version I pushed looks similar :)

@mkaz
Copy link
Member Author

mkaz commented Jan 29, 2020

I've done similar, so no worries. There's so much happening hard to keep track of every PR. :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Tool] WP Scripts /packages/scripts [Type] Developer Documentation Documentation for developers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants