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

Use prettier's --cache option #10601

Merged
merged 2 commits into from
Mar 9, 2024
Merged

Conversation

mondeja
Copy link
Member

@mondeja mondeja commented Mar 9, 2024

This speeds a lot subsecuent executions of Prettier locally, specially useful when formatting on pre-commit GIT's hook. Note that Prettier stores the cache file at ./node_modules/.cache/prettier/.prettier-cache, so this is not used on CI.

@mondeja mondeja added the meta Issues or pull requests regarding the project or repository itself label Mar 9, 2024
@mondeja mondeja requested a review from LitoMore March 9, 2024 01:36
@github-actions github-actions bot removed the meta Issues or pull requests regarding the project or repository itself label Mar 9, 2024
@mondeja mondeja added the meta Issues or pull requests regarding the project or repository itself label Mar 9, 2024
@mondeja
Copy link
Member Author

mondeja commented Mar 9, 2024

We can always in the future include it on CI...

@mondeja mondeja removed the request for review from LitoMore March 9, 2024 02:37
@mondeja mondeja merged commit 78b2f3f into simple-icons:develop Mar 9, 2024
3 checks passed
@mondeja mondeja deleted the prettier-cache branch March 9, 2024 03:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
meta Issues or pull requests regarding the project or repository itself
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants