Skip to content

219 enforce formatting using prettier and husky - #220

Merged
willbreitkreutz merged 4 commits into
mainfrom
219-enforce-formatting-using-prettier-and-husky
Aug 18, 2025
Merged

219 enforce formatting using prettier and husky#220
willbreitkreutz merged 4 commits into
mainfrom
219-enforce-formatting-using-prettier-and-husky

Conversation

@jbkolze

@jbkolze jbkolze commented Aug 4, 2025

Copy link
Copy Markdown
Contributor

Auto-formats staged files using included prettier config upon commit.

Recommend creating another PR applying the formatting to all repo files soon after this is merged to avoid messy diffs in future PRs.

@jbkolze jbkolze added enhancement New feature or request patch-bump labels Aug 4, 2025
@jbkolze jbkolze linked an issue Aug 4, 2025 that may be closed by this pull request
@github-actions

github-actions Bot commented Aug 4, 2025

Copy link
Copy Markdown

Please set a versioning label of either major-bump, minor-bump, or patch-bump to the pull request.

@jbkolze
jbkolze marked this pull request as draft August 4, 2025 17:58
@jbkolze

jbkolze commented Aug 4, 2025

Copy link
Copy Markdown
Contributor Author

Whoops, just found a bug with some uncommitted files... Need to track it down before it works.

All staged files will be auto-formatted using the repo's prettier config
file as part of the commit process.

package.json is reformatted as a result of this commit -- other files
are unmodified.
@jbkolze
jbkolze force-pushed the 219-enforce-formatting-using-prettier-and-husky branch from 56c6b23 to 73e5e1f Compare August 4, 2025 18:06
@jbkolze
jbkolze marked this pull request as ready for review August 4, 2025 18:06
@jbkolze

jbkolze commented Aug 4, 2025

Copy link
Copy Markdown
Contributor Author

Should be working now.

File is included with husky installation in npm prepare script
@willbreitkreutz
willbreitkreutz merged commit f30f3d9 into main Aug 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request patch-bump

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enforce formatting using prettier and husky

2 participants