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

Switch the pre-commit hook used to run prettier #186

Merged
merged 1 commit into from
Sep 25, 2024

Conversation

mcdonnnj
Copy link
Member

🗣 Description

This pull request switches the pre-commit hook used to run prettier from pre-commit/mirrors-prettier to rbubley/mirrors-prettier.

💭 Motivation and context

The pre-commit/mirrors-prettier hook has been archived due to changes in the upcoming prettier v4 that "break plugins entirely". A longstanding gripe I have had with the hook is that as soon as a pre-release is cut (basically the first alpha release), the older stable major version no longer gets updated tags. The new hook ignores pre-releases and, so far at least, is only cutting tags for the v3 point releases.

🧪 Testing

Automated tests pass.

✅ Pre-approval checklist

  • This PR has an informative and human-readable title.
  • Changes are limited to a single goal - eschew scope creep!
  • All relevant type-of-change labels have been added.
  • I have read the CONTRIBUTING document.
  • These code changes follow cisagov code standards.
  • All new and existing tests pass.

@mcdonnnj mcdonnnj added improvement This issue or pull request will add or improve functionality, maintainability, or ease of use dependencies Pull requests that update a dependency file labels Aug 13, 2024
@mcdonnnj mcdonnnj self-assigned this Aug 13, 2024
@mcdonnnj mcdonnnj changed the title Switch the pre-commit hook used to run prettier Switch the pre-commit hook used to run prettier Aug 13, 2024
@jsf9k jsf9k mentioned this pull request Aug 13, 2024
7 tasks
Copy link
Member

@dav3r dav3r left a comment

Choose a reason for hiding this comment

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

👍

@mcdonnnj mcdonnnj added the kraken 🐙 This pull request is ready to merge during the next Lineage Kraken release label Aug 13, 2024
@mcdonnnj mcdonnnj added this pull request to the merge queue Sep 25, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to a conflict with the base branch Sep 25, 2024
This replaces the now archived pre-commit/mirrors-prettier hook.
@mcdonnnj mcdonnnj force-pushed the improvement/switch_prettier_hook branch from 25e7a4f to c502f1a Compare September 25, 2024 07:21
@mcdonnnj mcdonnnj added this pull request to the merge queue Sep 25, 2024
Merged via the queue into develop with commit f0e55b3 Sep 25, 2024
6 checks passed
@mcdonnnj mcdonnnj deleted the improvement/switch_prettier_hook branch September 25, 2024 07:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file improvement This issue or pull request will add or improve functionality, maintainability, or ease of use kraken 🐙 This pull request is ready to merge during the next Lineage Kraken release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants