Skip to content

chore: add "changed lines only" formatting#3753

Draft
chrisolsen wants to merge 1 commit intodevfrom
chris/format-diff-only
Draft

chore: add "changed lines only" formatting#3753
chrisolsen wants to merge 1 commit intodevfrom
chris/format-diff-only

Conversation

@chrisolsen
Copy link
Copy Markdown
Collaborator

When you run/re-run the npm run dev:setup a pre-commit hook will be added that formats the lines that were changed. This should prevent unrelated formatting changes from creeping into PRs.

This requires you to disable your auto-formatting within your editor.

To use this you must disable auto-formatting within your editor
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.

1 participant