Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: upgrade prettier and add --cache#4543

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
jsjoeio merged 1 commit intomainfromjsjoeio/update-prettier
Oct 14, 2022
Merged

Conversation

jsjoeio
Copy link
Contributor

@jsjoeiojsjoeio commentedOct 13, 2022
edited
Loading

This uses the--cache flag withprettier --check to cache the
results and speed up subsequent runs.

Without flag (i.e. no cache):

yarn run v1.22.19$ prettier --cache --check'**/*.{css,html,js,json,jsx,md,ts,tsx,yaml,yml}'Checking formatting...All matched files use Prettier code style!Donein 6.01s.

With flag after cache:

yarn run v1.22.19$ prettier --cache --check'**/*.{css,html,js,json,jsx,md,ts,tsx,yaml,yml}'Checking formatting...All matched files use Prettier code style!Donein 1.33s.

For more info, read here:https://prettier.io/docs/en/cli.html#--cache

@jsjoeiojsjoeio self-assigned thisOct 13, 2022
@jsjoeiojsjoeio marked this pull request as ready for reviewOctober 13, 2022 21:03
@jsjoeiojsjoeio requested a review froma team as acode ownerOctober 13, 2022 21:03
@jsjoeiojsjoeio requested review frompresleyp and removed request fora teamOctober 13, 2022 21:03
This uses the `--cache` flag with `prettier --check` to cache theresults and speed up subsequent runs.
@jsjoeiojsjoeioforce-pushed thejsjoeio/update-prettier branch from8d3c9b1 to4a6b6cbCompareOctober 13, 2022 21:07
@jsjoeiojsjoeioenabled auto-merge (squash)October 13, 2022 21:37
@jsjoeiojsjoeio merged commit88f7505 intomainOct 14, 2022
@jsjoeiojsjoeio deleted the jsjoeio/update-prettier branchOctober 14, 2022 16:22
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsOct 14, 2022
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@presleyppresleyppresleyp approved these changes

Assignees

@jsjoeiojsjoeio

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@jsjoeio@presleyp

[8]ページ先頭

©2009-2025 Movatter.jp