Skip to content

Conversation

@wjmelements
Copy link
Contributor

@wjmelements wjmelements commented Nov 3, 2025

Reviewer @hugomrdias

It is important that the precommit hook works on the master branch.

Changes

  • adds biome check matching the precommit hooks to the lint target

@github-project-automation github-project-automation bot moved this to 📌 Triage in FS Nov 3, 2025
@wjmelements
Copy link
Contributor Author

This failure demonstrates the githook breakage on master.

@wjmelements
Copy link
Contributor Author

Change is possibly redundant with #387.

- name: Build
run: pnpm run build
- name: Biome Check
run: pnpm exec biome check --no-errors-on-unmatched --files-ignore-unknown=true
Copy link
Contributor Author

Choose a reason for hiding this comment

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

maybe should just run the precommit hook directly

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@hugomrdias
Copy link
Collaborator

i would rather not force examples to run through all our lint system to make them simple and forkable
i will look into this

@hugomrdias
Copy link
Collaborator

@wjmelements i think i fix this in #394 can we close ?

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Nov 5, 2025

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
synapse-dev 284738a Commit Preview URL

Branch Preview URL
Nov 05 2025, 05:16 PM

@wjmelements
Copy link
Contributor Author

@wjmelements i think i fix this in #394 can we close ?

I don't understand how that change protects the githook. Is the githook now equivalent to pnpm run lint?

@hugomrdias
Copy link
Collaborator

no, git hook only runs on staged files

@wjmelements
Copy link
Contributor Author

no, git hook only runs on staged files

ok I see that changed in #267

@wjmelements wjmelements closed this Nov 5, 2025
@github-project-automation github-project-automation bot moved this from 📌 Triage to 🎉 Done in FS Nov 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 🎉 Done

Development

Successfully merging this pull request may close these issues.

3 participants