Skip to content

chore: setup pre-commit formatting with Husky and CSharpier - #42

Merged
antosubash merged 6 commits into
mainfrom
feature/thirsty-chaplygin
Apr 1, 2026
Merged

antosubash merged 6 commits into
mainfrom
feature/thirsty-chaplygin

Conversation

@antosubash

Copy link
Copy Markdown
Owner

Changes

  • Git Hooks: Add Husky configuration with pre-commit hook for automated code formatting
  • Code Formatting: Integrate CSharpier as a dotnet local tool with printWidth: 100 config
  • Build System: Update Makefile to use dotnet local tool for CSharpier invocation
  • Documentation: Add ADR and design docs for git hooks and pre-commit formatting strategy
  • Dependencies: Add npm packages (husky, lint-staged) and update package-lock.json
  • Code Updates: Reformat C# code across load tests, ViteDevWatch, FeatureFlags services per new style
  • Load Tests: Add LoadProfile scenario configuration and refactor test scenarios for consistency

Impact

Enables automatic code formatting on commit, ensuring consistent code style across the project without manual intervention.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying simplemodule-website with  Cloudflare Pages  Cloudflare Pages

Latest commit: 3835ff8
Status: ✅  Deploy successful!
Preview URL: https://fc528bb3.simplemodule-website.pages.dev
Branch Preview URL: https://feature-thirsty-chaplygin.simplemodule-website.pages.dev

View logs

@antosubash
antosubash merged commit 55d7dc4 into main Apr 1, 2026
4 checks passed
@antosubash
antosubash deleted the feature/thirsty-chaplygin branch April 1, 2026 15:15
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