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

feat: copy core prettier file before running checks #21

Merged
merged 3 commits into from
Jan 7, 2025

Conversation

millnut
Copy link
Member

@millnut millnut commented Dec 31, 2024

What does this change?

While working on localgovdrupal/localgov_core#266 I noticed prettier was trying to replace ' with " which is incorrect as the core prettier config has "singleQuote": true,. This is because it tries to use the config from web which is fine for eslint as it extends the eslint config from web/core. Prettier cannot do this so I've added a workflow step to copy the file before checks are run.

See https://github.com/localgovdrupal/localgov_core/actions/runs/12560386043/job/35017748492
Screenshot 2024-12-31 at 14 09 40

@millnut millnut changed the title feat: copy core prettier file before running checks and make if file … feat: copy core prettier file before running checks Dec 31, 2024
@millnut millnut marked this pull request as ready for review December 31, 2024 14:12
@finnlewis finnlewis merged commit a8b126d into 1.x Jan 7, 2025
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.

2 participants