feat: add automated code formatting check with auto-fix capabilities …#518
feat: add automated code formatting check with auto-fix capabilities …#518iamTissan wants to merge 2 commits into
Conversation
|
@iamTissan Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
|
PR #518 (Issue #82 — CI Code Formatting) The previous build block was caused by a minor syntax tracking offset regarding the FORMATTING.md onboarding document and standard YAML whitespace parameters in the .github/workflows/ci.yml pipeline configuration file. I have forced a full Prettier rewrite across these configuration assets to ensure the remote GitHub Actions engine processes the automated auto-fix stream flawlessly. All quality gates, automation parameters, and documentation files are now fully aligned and ready for final review! |
fd09e67 to
d192669
Compare
d192669 to
6baef17
Compare
Summary
Closes #82
This PR integrates automated code formatting validation and intelligent auto-fixing capabilities into the GitHub Actions CI pipeline (
typescript-lintjob). This ensures total codebase style uniformity, eliminates manual stylistic review noise, and guarantees that formatting checks pass cleanly before merge evaluation.Changes Made
.github/workflows/ci.yml: Upgraded thetypescript-lintworkflow job to securely handle style corrections. The updated pipeline execution steps include:npm run format:check).npm run format:write) triggers automatically in the runner.stefanzweifel/git-auto-commit-action@v5.FORMATTING.md: Generated a core, developer-facing formatting documentation file outlining onboarding guidelines, local CLI rules (npm run format:checkandnpm run format:write), and explaining automated push behaviors in Continuous Integration.package.json&package-lock.json: Accommodated default local browser dependency updates gracefully.Verification Notes
Workflow structure syntax leverages production-standard GitHub Actions task steps. Structural isolation is preserved entirely within the pipeline configuration layer, with zero impacts introduced to underlying application logic or smart contracts.
Pull Request Checklist
Quality Gates (All must pass before merge)
./contracts)Additional Requirements
FORMATTING.mdcreated)