Skip to content

Conversation

@VGabriel45
Copy link
Contributor

No description provided.

@VGabriel45 VGabriel45 requested review from a team and 0xsequence-bot as code owners April 3, 2025 13:49
@SamueleA
Copy link
Contributor

SamueleA commented Apr 4, 2025

I don't think this works.

Isn't the correct flow for a precommit to check for linting errors and prevent commit, rather than fix? The flow would be that the developer goes back after seeing that the commit has failed, fixes the code (by running pnpm format), then attemps to commit the code again.

Otherwise pnpm format will be run and the new modifications will be left unstaged, thus requiring a second commit to inclde them.

@VGabriel45 VGabriel45 closed this Apr 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.

3 participants