-
Notifications
You must be signed in to change notification settings - Fork 742
Open
Labels
Description
Current Behavior
Currently, code formatting is not enforced automatically. This can lead to:
• Inconsistent code style across files
• Formatting-only diffs in PRs
• Extra review overhead for maintainers
• Style regressions slipping into master
Proposed Solution
->Implement Prettier with a CI-based formatting check that runs on every Pull Request.
Tooling Choice
• Formatter: Prettier
• Why Prettier?
• Supports JavaScript, CSS, HTML, Markdown, and YAML
• Minimal configuration
• Widely adopted and contributor-friendly
Verification Plan
• Open a test PR with intentionally unformatted code → workflow should fail
• Format the code locally using npm run format → workflow should pass
• Ensure contributors can easily fix issues locally
Screenshots / Mockups
Contributor Guides and Resources
- 🎨 Wireframes and designs for Meshery UI in Figma (open invite)
- 🖥 Contributing to Meshery Website
- 🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack
