Skip to content

chore: migrate prettier to treefmt-nix#3067

Merged
piotrkwiecinski merged 1 commit into
masterfrom
chore/migrate-prettier-to-treefmt
Jan 2, 2026
Merged

chore: migrate prettier to treefmt-nix#3067
piotrkwiecinski merged 1 commit into
masterfrom
chore/migrate-prettier-to-treefmt

Conversation

@piotrkwiecinski

Copy link
Copy Markdown
Contributor

Summary

  • Move prettier configuration from .prettierrc to flake.nix treefmt
  • Add prettier-plugin-go-template for Hugo template formatting
  • Remove prettier from package.json devDependencies
  • Delete .prettierrc and .prettierignore files
  • Add CI workflow to check formatting on pull requests only
  • Fix nested quotes in Hugo templates for go-template parser compatibility

Test plan

  • Verify nix fmt runs successfully
  • Verify nix fmt -- --fail-on-change passes (no unformatted files)
  • Verify Hugo site builds correctly
  • Verify format-check CI workflow runs on this PR

🤖 Generated with Claude Code

- Move prettier configuration from .prettierrc to flake.nix treefmt
- Add prettier-plugin-go-template for Hugo template formatting
- Remove prettier from package.json devDependencies
- Delete .prettierrc and .prettierignore files
- Add CI workflow to check formatting on pull requests
- Fix nested quotes in Hugo templates for go-template compatibility

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@piotrkwiecinski piotrkwiecinski merged commit 7377d87 into master Jan 2, 2026
3 checks passed
@piotrkwiecinski piotrkwiecinski deleted the chore/migrate-prettier-to-treefmt branch March 13, 2026 16:28
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